treeherder/fig.yml

41 строка
821 B
YAML

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at http://mozilla.org/MPL/2.0/.
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"