зеркало из https://github.com/mozilla/treeherder.git
37 строки
621 B
YAML
37 строки
621 B
YAML
|
memcached:
|
||
|
image: memcached:1.4
|
||
|
|
||
|
rabbitmq:
|
||
|
image: rabbitmq:3.4-management
|
||
|
|
||
|
mysql:
|
||
|
image: mysql:5.5
|
||
|
environment:
|
||
|
MYSQL_ROOT_PASSWORD: treeherder
|
||
|
MYSQL_DATABASE: treeherder
|
||
|
|
||
|
# The bootstrap step is special in that it should be run prior to any of the
|
||
|
# "real" processes which need to use the database.
|
||
|
thbootstrap:
|
||
|
build: .
|
||
|
volumes:
|
||
|
- ".:/app"
|
||
|
links:
|
||
|
- mysql
|
||
|
- rabbitmq
|
||
|
- memcached
|
||
|
command: /app/docker/init.sh
|
||
|
|
||
|
thapi:
|
||
|
build: .
|
||
|
volumes:
|
||
|
- ".:/app"
|
||
|
links:
|
||
|
- mysql
|
||
|
- rabbitmq
|
||
|
- memcached
|
||
|
- thbootstrap
|
||
|
command: /app/docker/gunicorn.sh
|
||
|
ports:
|
||
|
- "8000"
|