tsk-172: Updated docker compose to include songparser service

This commit is contained in:
kdeng00
2025-08-16 15:40:41 -04:00
parent 679a4ad322
commit eb04f769ae
+25 -7
View File
@@ -17,7 +17,8 @@ services:
main_db: main_db:
condition: service_healthy condition: service_healthy
networks: networks:
- main-api-network # - main-api-network
- icarus-network
restart: unless-stopped # Optional: Restart policy restart: unless-stopped # Optional: Restart policy
# --- Web API auth --- # --- Web API auth ---
@@ -39,10 +40,23 @@ services:
auth_db: auth_db:
condition: service_healthy condition: service_healthy
networks: networks:
- auth-api-network # - auth-api-network
- icarus-network
# Optional: Mount local code for development (live reload) # Optional: Mount local code for development (live reload)
# volumes: # volumes:
# - ./path/to/your/web-api-repo:/app # - ./path/to/your/web-api-repo:/app
songparser:
build:
context: ../songparser
ssh: ["default"]
dockerfile: Dockerfile
container_name: songparser
restart: unless-stopped
env_file:
- ../songparser/.env
networks:
- icarus-network
# PostgreSQL Database Service # PostgreSQL Database Service
# --- icarus web api db --- # --- icarus web api db ---
@@ -69,7 +83,8 @@ services:
start_period: 10s start_period: 10s
restart: always # Optional: Restart policy restart: always # Optional: Restart policy
networks: networks:
- main-api-network # - main-api-network
- icarus-network
# --- icarus web auth api db --- # --- icarus web auth api db ---
auth_db: auth_db:
@@ -95,7 +110,8 @@ services:
start_period: 10s start_period: 10s
restart: always # Optional: Restart policy restart: always # Optional: Restart policy
networks: networks:
- auth-api-network # - auth-api-network
- icarus-network
# Define the named volume for data persistence # Define the named volume for data persistence
volumes: volumes:
@@ -106,7 +122,9 @@ volumes:
# Define the network (optional, but good practice) # Define the network (optional, but good practice)
networks: networks:
main-api-network: # main-api-network:
driver: bridge # driver: bridge
auth-api-network: # auth-api-network:
# driver: bridge
icarus-network:
driver: bridge driver: bridge