github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/sandboxes/https-header-mode/docker-compose.yaml (about) 1 services: 2 3 mysql-server: 4 image: mysql:8.2 5 restart: always 6 hostname: mysql-server 7 environment: 8 MYSQL_DATABASE: 'fleetspeak' 9 MYSQL_USER: 'fleetspeak-user' 10 MYSQL_PASSWORD: 'fleetspeak-password' 11 MYSQL_ROOT_PASSWORD: 'password' 12 ports: 13 - '3306:3306' 14 expose: 15 - '3306' 16 healthcheck: 17 test: ["CMD", "mysqladmin", "ping", "-h", "localhost"] 18 timeout: 5s 19 retries: 10 20 21 front-envoy: 22 build: 23 context: . 24 dockerfile: ../shared/envoy/Dockerfile 25 args: 26 ENVOY_CONFIG: ./envoy-https-https.yaml 27 hostname: fleetspeak-frontend 28 ports: 29 - "10000:10000" 30 31 fleetspeak-server: 32 build: 33 context: . 34 dockerfile: ../shared/fleetspeak-server/Dockerfile 35 hostname: fleetspeak-server 36 depends_on: 37 mysql-server: 38 condition: service_healthy 39 entrypoint: ["/app/bin/server", "-components_config", "/config/fleetspeak-server/components.textproto", "-services_config", "/config/fleetspeak-server/services.textproto", "-alsologtostderr"] 40 volumes: 41 - "./config:/config" 42 ports: 43 - '9090:9090' 44 - '9091:9091' 45 - '8080:8080' 46 expose: 47 - '9090' 48 - '9091' 49 - '8080' 50 healthcheck: 51 test: ["CMD", "curl", "http://localhost:8080"] 52 timeout: 5s 53 retries: 10 54 55 fleetspeak-client: 56 build: 57 context: . 58 dockerfile: ../shared/fleetspeak-client/Dockerfile 59 hostname: fleetspeak-client 60 depends_on: 61 fleetspeak-server: 62 condition: service_healthy 63 entrypoint: ["/app/bin/client", "-config", "/config/fleetspeak-client/config.textproto", "-alsologtostderr"] 64 volumes: 65 - "./config:/config"