rollerverbrauch/docker-compose.yml

20 lines
399 B
YAML
Raw Normal View History

2016-05-26 12:08:24 +02:00
version: '2'
services:
rollerverbrauch:
build: .
depends_on:
- database
volumes:
2016-05-26 13:54:51 +02:00
- ./compose_config/:/config
2016-05-26 12:08:24 +02:00
environment:
- config=/config/config.py
- DATABASE_ENV_MYSQL_ROOT_PASSWORD=foobar123
ports:
- 5000
database:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=foobar123
- MYSQL_DATABASE=pitstops
ports:
- 3306