Use dotenv for env keys

This commit is contained in:
Memo Chou 2021-07-11 00:38:01 +08:00
parent 2ac65c3fea
commit 96e5e8220e
2 changed files with 4 additions and 2 deletions

View File

@ -487,6 +487,8 @@ SELENIUM_PORT=4444
MINIO_PORT=9000
MINIO_CONSOLE_PORT=9001
MINIO_ROOT_USER=laradock
MINIO_ROOT_PASSWORD=laradock
### ADMINER ###############################################

View File

@ -470,8 +470,8 @@ services:
- "${MINIO_PORT}:9000"
- "${MINIO_CONSOLE_PORT}:9001"
environment:
- MINIO_ROOT_USER=access
- MINIO_ROOT_PASSWORD=secretkey
- MINIO_ROOT_USER=${MINIO_ROOT_USER}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
networks:
- frontend
- backend