Browse Source

docker: provide .env to the redis container, too

Sven Fischer 5 năm trước cách đây
mục cha
commit
c864f4b222
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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: