feat: add redis to docker compose
This commit is contained in:
+6
-1
@@ -26,8 +26,10 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
|
||||||
app:
|
redis:
|
||||||
|
image: redis:8-alpine
|
||||||
|
|
||||||
|
app:
|
||||||
build: .
|
build: .
|
||||||
|
|
||||||
container_name: nest-app
|
container_name: nest-app
|
||||||
@@ -38,6 +40,9 @@ services:
|
|||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env.production
|
- .env.production
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user