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

10
docker/envrionment.env Normal file
View File

@@ -0,0 +1,10 @@
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=wordpress
MYSQL_USER=wp_admin
MYSQL_PASSWORD=wp_password
API_URL=http://localhost:8081
REACT_APP_TEST_URL=http://localhost:8000/api-wiaas
REACT_APP_PROD_URL=http://localhost:8000/api-wiaas
REACT_APP_DEV_URL=${API_URL}