Updated yml

This commit is contained in:
2026-08-04 18:19:27 -04:00
parent bae1dd4173
commit db07f2c39d
+20 -26
View File
@@ -6,7 +6,7 @@ services:
build: build:
context: . context: .
ssh: ["default"] ssh: ["default"]
container_name: soaricarus container_name: api
ports: ports:
- "8000:8000" - "8000:8000"
env_file: env_file:
@@ -46,23 +46,23 @@ services:
# - ./path/to/your/web-api-repo:/app # - ./path/to/your/web-api-repo:/app
# --- songparser service --- # --- songparser service ---
# songparser: songparser:
# build: build:
# context: ../songparser context: ../songparser
# ssh: ["default"] ssh: ["default"]
# dockerfile: Dockerfile dockerfile: Dockerfile
# container_name: songparser container_name: songparser
# restart: unless-stopped restart: unless-stopped
# env_file: env_file:
# - ../songparser/.env - ../songparser/.env
# depends_on: depends_on:
# - api - api
# - main_db - main_db
# - auth_api - auth_api
# - auth_db - auth_db
# - maze - maze
# networks: networks:
# - soaricarus-network - soaricarus-network
# --- storage service --- # --- storage service ---
maze: maze:
@@ -100,25 +100,19 @@ services:
GARAGE_LOG_LEVEL: "info" GARAGE_LOG_LEVEL: "info"
GARAGE_S3_BUCKET: "${S3_BUCKET_NAME}" GARAGE_S3_BUCKET: "${S3_BUCKET_NAME}"
GARAGE_S3_REGION: "${GARAGE_S3_REGION}"
GARAGE_DEFAULT_ACCESS_KEY: "${GARAGE_DEFAULT_ACCESS_KEY}" GARAGE_DEFAULT_ACCESS_KEY: "${GARAGE_DEFAULT_ACCESS_KEY}"
GARAGE_DEFAULT_SECRET_KEY: "${GARAGE_DEFAULT_SECRET_KEY}" GARAGE_DEFAULT_SECRET_KEY: "${GARAGE_DEFAULT_SECRET_KEY}"
GARAGE_DEFAULT_BUCKET: "${GARAGE_DEFAULT_BUCKET}" GARAGE_DEFAULT_BUCKET: "${GARAGE_DEFAULT_BUCKET}"
volumes: volumes:
# - garage_data:/data # Persist Garage data
- ./garage.toml:/etc/garage.toml:ro # Mount config file - ./garage.toml:/etc/garage.toml:ro # Mount config file
- shared_credentials:/data # Persist Garage data - shared_credentials:/data # Persist Garage data
ports: ports:
- "3900:3900" # S3 API - "3900:3900" # S3 API
- "3901:3901" # S3 API public - "3901:3901" # S3 API public
- "3902:3902" # Admin API - "3902:3902" # Admin API
# entrypoint: ["/bin/bash", "-c"]
# command:
# - |
# ls /
# /garage -c /etc/garage.toml server
# command: ["/garage", "-c", "/etc/garage.toml", "server"]
command: ["/garage", "server", "--single-node", "--default-bucket"] command: ["/garage", "server", "--single-node", "--default-bucket"]
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3900/"] test: ["CMD", "curl", "-f", "http://localhost:3900/"]
@@ -129,7 +123,7 @@ services:
networks: networks:
- soaricarus-network - soaricarus-network
extra_hosts: extra_hosts:
- "garage.local:127.0.0.1" # Needed for local domain resolution - "garage.local:127.0.0.1"
# PostgreSQL Database Service # PostgreSQL Database Service
main_db: main_db: