Add env_file to mysql container def.

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

@ -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…
Cancel
Save