first commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# 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.
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:17-alpine
|
||||
env_file: .env.production
|
||||
volumes:
|
||||
- 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
|
||||
|
||||
sourcehub:
|
||||
build: .
|
||||
env_file: .env.production
|
||||
ports:
|
||||
- "127.0.0.1:18000:8000"
|
||||
depends_on:
|
||||
- postgres
|
||||
- minio
|
||||
- clamav
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
sourcehub_pg:
|
||||
sourcehub_minio:
|
||||
Reference in New Issue
Block a user