diff --git a/deployments/compose.yaml b/deployments/compose.yaml index 5472129..0ad48a1 100644 --- a/deployments/compose.yaml +++ b/deployments/compose.yaml @@ -15,6 +15,8 @@ services: - DB_PASSWORD=${DB_PASSWORD} - DB_DATABASE=${DB_DATABASE} - DB_SYNC=false + - REDIS_HOST=${REDIS_HOST} + - REDIS_PORT=${REDIS_PORT} ports: - 8080:8080 <<: &default_logging @@ -26,6 +28,7 @@ services: restart: unless-stopped depends_on: - postgresql + - redis postgresql: image: postgres:16 @@ -41,5 +44,17 @@ services: <<: *default_logging restart: unless-stopped + redis: + image: redis:7 + container_name: redis + command: "redis-server --loglevel warning" + volumes: + - redis_data:/data/ + ports: + - "6379:6379" + <<: *default_logging + restart: unless-stopped + volumes: postgres_data: + redis_data: