first version for docker-compose
This commit is contained in:
parent
2176579baa
commit
10494a03a9
|
@ -0,0 +1,20 @@
|
||||||
|
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
|
Loading…
Reference in New Issue