Sure-Web
Docker 应用程序 from Skylinar's Repository
概述
要求
Requires a //Postgres\\ database and //Redis\\.
Check the Sure documentation for more information: https://github.com/we-promise/sure/blob/main/docs/hosting/docker.md
运行时参数
- 网络用户界面
http://[IP]:[PORT:3000]- 网络
bridge- 外壳
sh- 特权
- false
- 额外参数
--restart unless-stopped
模板配置
Config data for application. Should be the same dir as Sure Worker.
- 目标
- /rails/storage
- 默认值
- /mnt/user/appdata/sure/app-storage
- 价值
- /mnt/user/appdata/sure/app-storage
- 目标
- 3000
- 默认值
- 3000
- 价值
- 3000
Secret key. Run `openssl rand -hex 64` to generate a secret
- 目标
- SECRET_KEY_BASE
Postgres database host. Suggested: {YOUR-POSTGRES-IP}
- 目标
- DB_HOST
Postgres database port. Default: 5432
- 目标
- DB_PORT
- 默认值
- 5432
Postgres database username.
- 目标
- POSTGRES_USER
Postgres database password.
- 目标
- POSTGRES_PASSWORD
Postgres database name.
- 目标
- POSTGRES_DB
The Redis host URL. Suggested: redis://{YOUR-REDIS-IP}:6379/1
- 目标
- REDIS_URL
- 默认值
- redis://{YOUR-REDIS-IP}:6379/1
- 价值
- redis://{YOUR-REDIS-IP}:6379/1
Optional - NOTE: enabling OpenAI will incur costs when you use AI-related features in the app (chat, rules). Make sure you have set appropriate spend limits on your account before adding this.
- 目标
- OPENAI_ACCESS_TOKEN
Is the application self-hosted. Not recommended to change.
- 目标
- SELF_HOSTING_ENABLED
- 默认值
- true|false
- 价值
- true
Enforce SSL connections. Not recommended to change.
- 目标
- RAILS_FORCE_SSL
- 默认值
- false|true
- 价值
- false
Assume SSL connections. Not recommended to change.
- 目标
- RAILS_ASSUME_SSL
- 默认值
- false|true
- 价值
- false
详细信息
ghcr.io/we-promise/sure:latest在Unraid 上运行 Sure-Web 。
Sure-Web 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。