Add env_file to mysql container def.
This commit is contained in:
parent
2fa7a8a293
commit
e0c0f3e58f
@ -6,7 +6,7 @@ services:
|
||||
volumes:
|
||||
- ~/wordpress/database:/var/lib/mysql
|
||||
restart: always
|
||||
env_file: ".env"
|
||||
env_file: ".env"
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: $(MYSQL_ROOT_PASSWORD)
|
||||
MYSQL_DATABASE: $(MYSQL_DATABASE)
|
||||
|
Loading…
Reference in New Issue
Block a user