mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-27 11:14:59 +00:00
fix(deploy): default runtime quickstart to local storage
This commit is contained in:
parent
583bf5ba42
commit
f99fe3a42b
1 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue