load env variables directly from docker compose

This commit is contained in:
La macchina desiderante 2024-05-17 12:02:55 +02:00
parent 5a149ebe26
commit 5245125097
2 changed files with 7 additions and 3 deletions

View File

@ -3,3 +3,5 @@ node_modules
.gitignore
.next
package-lock.json
.env

View File

@ -20,7 +20,9 @@ services:
ports:
- "8069:3000"
env_file: .env
environment:
- ENABLE_REDIS=true
- REDIS_URL=redis://redis:6379
redis:
image: redis:alpine