Files
sub2proxy/docker-compose.yml
T
2026-06-13 16:57:43 +08:00

22 lines
651 B
YAML

services:
sub2proxy:
build: .
container_name: sub2proxy
restart: unless-stopped
ports:
- "3000:3000"
environment:
PORT: "3000"
HOST: "0.0.0.0"
AUTO_OPEN: "0"
ADMIN_PASSWORD: "change-admin-password"
VIEWER_PASSWORD: "change-viewer-password"
SESSION_SECRET: "change-session-secret"
LINK_TOKEN_SECRET: "change-link-token-secret"
# Set this when clients should import through a fixed LAN IP, domain, or reverse proxy.
# PUBLIC_BASE_URL: "http://192.168.1.10:3000"
volumes:
- ./subs.json:/app/subs.json
- ./out:/app/out
- ./templates:/app/templates:ro