18 lines
585 B
YAML
18 lines
585 B
YAML
services:
|
|
sub-store:
|
|
image: ghcr.io/rogeecn/sub-store:latest
|
|
container_name: sub-store
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./config:/app/config
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
# Generate strong tokens and set them here, or use a config.yaml instead.
|
|
- SUB_STORE_AUTH_ADMIN_TOKEN=change-me-admin
|
|
- SUB_STORE_AUTH_DOWNLOAD_TOKEN=change-me-download
|
|
# Optional: override frontend dir (defaults to /app/frontend/dist)
|
|
# - SUB_STORE_SERVER_FRONTEND_DIR=/app/frontend/dist
|