Last active
March 11, 2016 11:54
-
-
Save louisje/16573ccdbd3775a9b40a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '2' | |
| services: | |
| hephaestus: | |
| build: ./hephaestus | |
| depends_on: | |
| - queue | |
| - redis | |
| environment: | |
| - P_APP_ID=3eeeUbYPJdftJ9Q777awM6QiVDcKPY9f9cARopBM | |
| - P_REST_KEY=qM0cerYLJ8gWi7NRh6dJKdupHYSUJ5m1LQDe0nAv | |
| - P_MS_KEY=LHasidrF5lTqmFOMjDqsaM7qfvNZZXrCbQb892XM | |
| - AMQP_CONN=amqp://guest:guest@rabbitmq/ | |
| - RDS_HOST=redis | |
| athena: | |
| build: ./athena | |
| depends_on: | |
| - queue | |
| - redis | |
| - hephaestus | |
| environment: | |
| - ATHENA_REDIS_PORT=6379 | |
| - ATHENA_REDIS_HOST=redis | |
| - ATHENA_QUEUE_HOST=rabbitmq | |
| - ATHENA_QUEUE_USERNAME=guest | |
| - ATHENA_QUEUE_PASSWORD=guest | |
| - ATHENA_QUEUE_NAME=zsf | |
| - ATHENA_PATH=/ | |
| - ATHENA_PORT=5566 | |
| - ATHENA_PARSE_APP_ID=3eeeUbYPJdftJ9Q777awM6QiVDcKPY9f9cARopBM | |
| - ATHENA_PARSE_REST_KEY=qM0cerYLJ8gWi7NRh6dJKdupHYSUJ5m1LQDe0nAv | |
| redis: | |
| image: redis | |
| rabbitmq: | |
| image: louisje/rabbitmq:docker-compose | |
| command: rabbitmq-server | |
| queue: | |
| image: louisje/rabbitmq:docker-compose | |
| depends_on: | |
| - rabbitmq | |
| command: bash -c "sleep 5; /root/rabbitmqadmin -H rabbitmq -u guest -p guest declare queue name=zsf" | |
| gaia: | |
| build: backend-scripts/util/ | |
| depends_on: | |
| - athena | |
| environment: | |
| - ATHENA_URL=http://athena:5566/1/ | |
| # - APP=prod | |
| # - GAIA_SAMPLING=1/100 | |
| # - GAIA_NUM=10 | |
| # - GAIA_SPEDDUP=1 | |
| # - GAIA_DURATION=1 | |
| # command: make clean play integrity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '2' | |
| services: | |
| hephaestus: | |
| image: jks.zencircle.com:5000/hephaestus | |
| depends_on: | |
| - queue | |
| - redis | |
| environment: | |
| - P_APP_ID=3eeeUbYPJdftJ9Q777awM6QiVDcKPY9f9cARopBM | |
| - P_REST_KEY=qM0cerYLJ8gWi7NRh6dJKdupHYSUJ5m1LQDe0nAv | |
| - P_MS_KEY=LHasidrF5lTqmFOMjDqsaM7qfvNZZXrCbQb892XM | |
| - AMQP_CONN=amqp://guest:guest@rabbitmq/ | |
| - RDS_HOST=redis | |
| athena: | |
| image: jks.zencircle.com:5000/athena | |
| depends_on: | |
| - queue | |
| - redis | |
| - hephaestus | |
| environment: | |
| - ATHENA_REDIS_PORT=6379 | |
| - ATHENA_REDIS_HOST=redis | |
| - ATHENA_QUEUE_HOST=rabbitmq | |
| - ATHENA_QUEUE_USERNAME=guest | |
| - ATHENA_QUEUE_PASSWORD=guest | |
| - ATHENA_QUEUE_NAME=zsf | |
| - ATHENA_PATH=/ | |
| - ATHENA_PORT=5566 | |
| - ATHENA_PARSE_APP_ID=3eeeUbYPJdftJ9Q777awM6QiVDcKPY9f9cARopBM | |
| - ATHENA_PARSE_REST_KEY=qM0cerYLJ8gWi7NRh6dJKdupHYSUJ5m1LQDe0nAv | |
| expose: | |
| - "5566" | |
| redis: | |
| image: redis | |
| rabbitmq: | |
| image: louisje/rabbitmq:docker-compose | |
| command: rabbitmq-server | |
| queue: | |
| image: louisje/rabbitmq:docker-compose | |
| depends_on: | |
| - rabbitmq | |
| command: bash -c "sleep 5; /root/rabbitmqadmin -H rabbitmq -u guest -p guest declare queue name=zsf" | |
| gaia: | |
| build: backend-scripts/util/ | |
| depends_on: | |
| - haproxy | |
| environment: | |
| - ATHENA_URL=http://haproxy/1/ | |
| haproxy: | |
| depends_on: | |
| - athena | |
| build: ./haproxy | |
| ports: | |
| - "80:80" | |
| #### overlay network is ONLY for swarm #### | |
| networks: | |
| default: | |
| driver: overlay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment