From 8460a36a678da00532ae81f51f8e607d4679e361 Mon Sep 17 00:00:00 2001 From: linkitapps Date: Sun, 27 Sep 2026 01:34:33 +0900 Subject: [PATCH] fix(deploy): remove minio service and use local persistent storage volume in docker-compose.production.yml --- docker-compose.production.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/docker-compose.production.yml b/docker-compose.production.yml index bd820ea..2e649e0 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -1,7 +1,6 @@ # Host port plan (this Ubuntu server already uses 8000 for current SourceHub). # SourceHub 3.8 web → 127.0.0.1:18000 (container 8000) -# Postgres / MinIO / ClamAV → Docker network only (no host 5432/9000/3310) -# Keep existing python3:8000 running until Nginx cutover. +# Postgres / ClamAV → Docker network only (no host ports) services: postgres: @@ -11,14 +10,6 @@ services: - sourcehub_pg:/var/lib/postgresql/data restart: unless-stopped - minio: - image: minio/minio:latest - command: server /data --console-address ":9001" - env_file: .env.production - volumes: - - sourcehub_minio:/data - restart: unless-stopped - clamav: image: clamav/clamav:stable restart: unless-stopped @@ -28,12 +19,12 @@ services: env_file: .env.production ports: - "127.0.0.1:18000:8000" + volumes: + - ./storage:/app/storage depends_on: - postgres - - minio - clamav restart: unless-stopped volumes: sourcehub_pg: - sourcehub_minio: