load env variables directly from docker compose
This commit is contained in:
parent
5a149ebe26
commit
5245125097
|
@ -2,4 +2,6 @@ node_modules
|
||||||
.git
|
.git
|
||||||
.gitignore
|
.gitignore
|
||||||
.next
|
.next
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
||||||
|
.env
|
|
@ -20,8 +20,10 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "8069:3000"
|
- "8069:3000"
|
||||||
|
|
||||||
env_file: .env
|
environment:
|
||||||
|
- ENABLE_REDIS=true
|
||||||
|
- REDIS_URL=redis://redis:6379
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
container_name: redis
|
container_name: redis
|
||||||
|
|
Loading…
Reference in New Issue