Re-implementing the API

This commit is contained in:
2024-12-19 13:50:31 -05:00
parent 9344979d72
commit 4a18af9014
17 changed files with 486 additions and 152 deletions

View File

@@ -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: