20 lines
431 B
YAML
20 lines
431 B
YAML
version: '2'
|
|
services:
|
|
rollerverbrauch:
|
|
build: .
|
|
depends_on:
|
|
- database
|
|
volumes:
|
|
- /home/jlusiardi/Documents/rollerverbrauch_config/:/config
|
|
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 |