feat: add docker-compose.yaml using ghcr image

This commit is contained in:
2026-07-28 15:09:51 +08:00
parent 3671c39b7c
commit edae8235a6
+17
View File
@@ -0,0 +1,17 @@
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