Add env_file to mysql container def.

podman-compose-env
Mike Holloway 4 months ago
parent 562a9b954b
commit 2fa7a8a293
  1. 1
      docker-compose.yml

@ -6,6 +6,7 @@ services:
volumes:
- ~/wordpress/database:/var/lib/mysql
restart: always
env_file: ".env"
environment:
MYSQL_ROOT_PASSWORD: $(MYSQL_ROOT_PASSWORD)
MYSQL_DATABASE: $(MYSQL_DATABASE)

Loading…
Cancel
Save