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