Browse Source

docker: provide .env to the redis container, too

Sven Fischer 5 years ago
parent
commit
c864f4b222
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docker-compose.yml

+ 2 - 0
docker-compose.yml

@@ -72,6 +72,8 @@ services:
   redis:
     image: redis:5-alpine
     restart: unless-stopped
+    env_file:
+      - ./.env
     ports:
       - "6379:6379"
     volumes: