use ENV variables instead of hardcoded values

This commit is contained in:
GotPPay
2018-06-20 12:06:11 +02:00
parent 007063c868
commit 4481cadbee
8 changed files with 55 additions and 10 deletions

View File

@@ -19,6 +19,10 @@ services:
build:
context: .
dockerfile: frontend.dockerfile
args:
- REACT_APP_TEST_URL
- REACT_APP_PROD_URL
- REACT_APP_DEV_URL
volumes:
- ./log/frontend/:/var/log/apache2/
ports:
@@ -28,5 +32,11 @@ services:
build:
context: .
dockerfile: mysql.dockerfile
args:
- API_URL
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
ports:
- '23306:3306'