Add env_file to mysql container def.

This commit is contained in:
Mike Holloway 2024-08-17 18:50:23 -04:00
parent 2fa7a8a293
commit e0c0f3e58f

View File

@ -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)