feat: add docker-compose.yaml using ghcr image
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user