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: 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