fix(deploy): default runtime quickstart to local storage

This commit is contained in:
binfan5 2026-03-15 16:08:01 +08:00
parent 583bf5ba42
commit f99fe3a42b

View file

@ -7,7 +7,8 @@ POSTGRES_IMAGE=postgres:16-alpine
REDIS_IMAGE=redis:7-alpine
# Public entrypoint seen by browsers/CLI, no trailing slash.
SKILLHUB_PUBLIC_BASE_URL=https://skillhub.example.com
# Default to localhost so `runtime.sh up` works as a zero-config quickstart.
SKILLHUB_PUBLIC_BASE_URL=http://localhost
# Frontend usually keeps this empty and proxies to the backend through nginx.
SKILLHUB_WEB_API_BASE_URL=
@ -23,10 +24,11 @@ REDIS_BIND_ADDRESS=127.0.0.1
REDIS_PORT=6379
API_PORT=8080
WEB_PORT=80
SESSION_COOKIE_SECURE=true
SESSION_COOKIE_SECURE=false
# Production default is external S3/OSS compatible storage.
SKILLHUB_STORAGE_PROVIDER=s3
# Zero-config runtime validation uses local storage.
# Switch to `s3` and fill the fields below before a real production deployment.
SKILLHUB_STORAGE_PROVIDER=local
SKILLHUB_STORAGE_S3_ENDPOINT=https://oss-cn-example.aliyuncs.com
SKILLHUB_STORAGE_S3_PUBLIC_ENDPOINT=
SKILLHUB_STORAGE_S3_BUCKET=skillhub-prod