Removed dependency to mysql for testing
This commit is contained in:
parent
49a45ba8a4
commit
938a7fc140
|
@ -2,19 +2,11 @@ version: '2'
|
||||||
services:
|
services:
|
||||||
rollerverbrauch:
|
rollerverbrauch:
|
||||||
build: .
|
build: .
|
||||||
depends_on:
|
|
||||||
- database
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./compose_config/:/config
|
- ./compose_config/:/config
|
||||||
environment:
|
environment:
|
||||||
- config=/config/config.py
|
- config=/config/config.py
|
||||||
- DATABASE_ENV_MYSQL_ROOT_PASSWORD=foobar123
|
- DATABASE_ENV_MYSQL_ROOT_PASSWORD=foobar123
|
||||||
|
- FLASK_CONFIG=testing
|
||||||
ports:
|
ports:
|
||||||
- 5000
|
- 5000:5000
|
||||||
database:
|
|
||||||
image: mysql
|
|
||||||
environment:
|
|
||||||
- MYSQL_ROOT_PASSWORD=foobar123
|
|
||||||
- MYSQL_DATABASE=pitstops
|
|
||||||
ports:
|
|
||||||
- 3306
|
|
||||||
|
|
Loading…
Reference in New Issue