Removed dependency to mysql for testing

This commit is contained in:
Joachim Lusiardi 2016-08-03 08:09:58 +02:00
parent 49a45ba8a4
commit 938a7fc140
1 changed files with 2 additions and 10 deletions

View File

@ -2,19 +2,11 @@ version: '2'
services:
rollerverbrauch:
build: .
depends_on:
- database
volumes:
- ./compose_config/:/config
environment:
- config=/config/config.py
- DATABASE_ENV_MYSQL_ROOT_PASSWORD=foobar123
- FLASK_CONFIG=testing
ports:
- 5000
database:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=foobar123
- MYSQL_DATABASE=pitstops
ports:
- 3306
- 5000:5000