- Dockerfile: builds from Sources/ context, installs stegasoo + verisoo + soosef - docker-compose.yml: single service with persistent volume at /root/.soosef - entrypoint.sh: auto-init on first run, gunicorn with 2 workers Build: cd soosef/docker && sudo docker compose build Run: sudo docker compose up -d Port 35811, HTTPS disabled by default (reverse proxy expected) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 lines
674 B
YAML
28 lines
674 B
YAML
services:
|
|
soosef:
|
|
build:
|
|
context: ../.. # Sources/ directory (contains stegasoo/, verisoo/, soosef/)
|
|
dockerfile: soosef/docker/Dockerfile
|
|
container_name: soosef
|
|
ports:
|
|
- "35811:35811"
|
|
environment:
|
|
SOOSEF_DATA_DIR: /root/.soosef
|
|
SOOSEF_PORT: "35811"
|
|
SOOSEF_WORKERS: "2"
|
|
SOOSEF_HTTPS_ENABLED: "${SOOSEF_HTTPS_ENABLED:-false}"
|
|
STEGASOO_CHANNEL_KEY: "${STEGASOO_CHANNEL_KEY:-}"
|
|
volumes:
|
|
- soosef-data:/root/.soosef
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2048M
|
|
reservations:
|
|
memory: 512M
|
|
|
|
volumes:
|
|
soosef-data:
|
|
driver: local
|