- Fix .dockerignore to exclude *.img.xz files (was 2.3GB context) - Remove deprecated 'version' attribute from docker-compose.yml - Increase container memory limits to 2GB/1GB (prevent OOM on DCT) - Add loading spinner to decode button during form submission 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
# Shared environment variables
|
|
x-common-env: &common-env
|
|
STEGASOO_CHANNEL_KEY: ${STEGASOO_CHANNEL_KEY:-}
|
|
|
|
services:
|
|
# ============================================================================
|
|
# Web UI (Flask)
|
|
# ============================================================================
|
|
web:
|
|
build:
|
|
context: .
|
|
target: web
|
|
container_name: stegasoo-web
|
|
ports:
|
|
- "5000:5000"
|
|
environment:
|
|
<<: *common-env
|
|
FLASK_ENV: production
|
|
# Authentication (v4.0.2)
|
|
STEGASOO_AUTH_ENABLED: ${STEGASOO_AUTH_ENABLED:-true}
|
|
STEGASOO_HTTPS_ENABLED: ${STEGASOO_HTTPS_ENABLED:-false}
|
|
STEGASOO_HOSTNAME: ${STEGASOO_HOSTNAME:-localhost}
|
|
volumes:
|
|
# Persist auth database and SSL certs (v4.0.2)
|
|
- stegasoo-web-data:/app/frontends/web/instance
|
|
- stegasoo-web-certs:/app/frontends/web/certs
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2048M
|
|
reservations:
|
|
memory: 1024M
|
|
|
|
# ============================================================================
|
|
# REST API (FastAPI)
|
|
# ============================================================================
|
|
api:
|
|
build:
|
|
context: .
|
|
target: api
|
|
container_name: stegasoo-api
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
<<: *common-env
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2048M
|
|
reservations:
|
|
memory: 1024M
|
|
|
|
# Named volumes for persistent data
|
|
volumes:
|
|
stegasoo-web-data:
|
|
driver: local
|
|
stegasoo-web-certs:
|
|
driver: local
|