Re-implementing the API
This commit is contained in:
@@ -13,7 +13,7 @@ services:
|
||||
environment:
|
||||
DATABASE_HOST: siren-postgres
|
||||
DATABASE_PORT: 5432
|
||||
REDIS_HOST: redis
|
||||
REDIS_HOST: siren-redis
|
||||
REDIS_PORT: 6379
|
||||
DATA_DIR_PATH: /data
|
||||
volumes:
|
||||
@@ -42,14 +42,27 @@ services:
|
||||
- ${DATABASE_PORT:-5432}:5432
|
||||
networks:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
profiles:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
container_name: siren-redis
|
||||
volumes:
|
||||
- redis:/data
|
||||
ports:
|
||||
- ${REDIS_PORT:-6379}:6379
|
||||
networks:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
profiles:
|
||||
- backend
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
postgres_logs:
|
||||
redis:
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
|
||||
Reference in New Issue
Block a user