mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-09 03:17:52 +00:00
Merge pull request #37 from likes1234-bro/codex/fix-deploy-local-storage-clean
fix(deploy): default runtime quickstart to local storage
This commit is contained in:
commit
6410607dc4
2 changed files with 7 additions and 5 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
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ SKILLHUB_HOME_DEFAULT="${TMPDIR:-/tmp}/skillhub-runtime"
|
|||
SKILLHUB_HOME="${SKILLHUB_HOME:-$SKILLHUB_HOME_DEFAULT}"
|
||||
SKILLHUB_VERSION_VALUE="${SKILLHUB_VERSION:-}"
|
||||
SKILLHUB_ALIYUN_REGISTRY="${SKILLHUB_ALIYUN_REGISTRY:-crpi-ptu2rqimrigtq0qx.cn-hangzhou.personal.cr.aliyuncs.com}"
|
||||
SKILLHUB_ALIYUN_NAMESPACE="${SKILLHUB_ALIYUN_NAMESPACE:-test1245}"
|
||||
SKILLHUB_ALIYUN_NAMESPACE="${SKILLHUB_ALIYUN_NAMESPACE:-skill_hub}"
|
||||
SKILLHUB_MIRROR_REGISTRY_VALUE="${SKILLHUB_MIRROR_REGISTRY:-}"
|
||||
SKILLHUB_SERVER_IMAGE_VALUE="${SKILLHUB_SERVER_IMAGE:-}"
|
||||
SKILLHUB_WEB_IMAGE_VALUE="${SKILLHUB_WEB_IMAGE:-}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue