Hoppscotch
官方Docker 应用程序 from grtgbln's Repository
概述
要求
Requires a separate Postgres database.
运行时参数
- 网络用户界面
http://[IP]:[PORT:3100]/- 网络
bridge- 特权
- false
模板配置
Container Port: 3100
- 目标
- 3100
- 默认值
- 3100
- 价值
- 3100
Container Port: 3000
- 目标
- 3000
- 默认值
- 3000
- 价值
- 3000
Container Port: 3170
- 目标
- 3170
- 默认值
- 3170
- 价值
- 3170
Postgres database URL
- 目标
- DATABASE_URL
- 默认值
- postgresql://username:password@url:5432/dbname
- 价值
- postgresql://username:password@url:5432/dbname
JWT secret for authentication tokens
- 目标
- JWT_SECRET
Session secret for authentication tokens
- 目标
- SESSION_SECRET
Key for data encryption in database. Must be 32 characters.
- 目标
- DATA_ENCRYPTION_KEY
Redirect URL for authentication
- 目标
- REDIRECT_URL
- 默认值
- http://localhost:3000
- 价值
- http://localhost:3000
Comma-separated list of whitelisted URLs for authentication. Include three ports used by Hoppscotch.
- 目标
- WHITELISTED_ORIGINS
- 默认值
- http://localhost:3000,http://localhost:3100,http://localhost:3170
- 价值
- http://localhost:3000,http://localhost:3100,http://localhost:3170
Comma-separated list of enabled authentication providers. Options: GOOGLE, GITHUB, MICROSOFT, EMAIL
- 目标
- VITE_ALLOWED_AUTH_PROVIDERS
Google OAuth client ID. Delete if not using Google authentication.
- 目标
- GOOGLE_CLIENT_ID
Google OAuth client secret. Delete if not using Google authentication.
- 目标
- GOOGLE_CLIENT_SECRET
Google OAuth callback URL. Delete if not using Google authentication.
- 目标
- GOOGLE_CALLBACK_URL
- 默认值
- http://localhost:3170/v1/auth/google/callback
- 价值
- http://localhost:3170/v1/auth/google/callback
Google OAuth scope. Delete if not using Google authentication.
- 目标
- GOOGLE_SCOPE
- 默认值
- email,profile
- 价值
- email,profile
GitHub OAuth client ID. Delete if not using GitHub authentication.
- 目标
- GITHUB_CLIENT_ID
GitHub OAuth client secret. Delete if not using GitHub authentication.
- 目标
- GITHUB_CLIENT_SECRET
GitHub OAuth callback URL. Delete if not using GitHub authentication.
- 目标
- GITHUB_CALLBACK_URL
- 默认值
- http://localhost:3170/v1/auth/github/callback
- 价值
- http://localhost:3170/v1/auth/github/callback
GitHub OAuth scope. Delete if not using GitHub authentication.
- 目标
- GITHUB_SCOPE
- 默认值
- user:email
- 价值
- user:email
Microsoft OAuth client ID. Delete if not using Microsoft authentication.
- 目标
- MICROSOFT_CLIENT_ID
Microsoft OAuth client secret. Delete if not using Microsoft authentication.
- 目标
- MICROSOFT_CLIENT_SECRET
Microsoft OAuth callback URL. Delete if not using Microsoft authentication.
- 目标
- MICROSOFT_CALLBACK_URL
- 默认值
- http://localhost:3170/v1/auth/microsoft/callback
- 价值
- http://localhost:3170/v1/auth/microsoft/callback
Microsoft OAuth scope. Delete if not using Microsoft authentication.
- 目标
- MICROSOFT_SCOPE
- 默认值
- user.read
- 价值
- user.read
Microsoft OAuth tenant. Delete if not using Microsoft authentication.
- 目标
- MICROSOFT_TENANT
- 默认值
- common
- 价值
- common
Enable email sending for authentication.
- 目标
- MAILER_SMTP_ENABLE
- 默认值
- false|true
Use custom SMTP configurations.
- 目标
- MAILER_USE_CUSTOM_CONFIGS
- 默认值
- false|true
Sender email address.
- 目标
- MAILER_ADDRESS_FROM
- 默认值
- from@example.com
- 价值
- from@example.com
SMTP server URL.
- 目标
- MAILER_SMTP_URL
- 默认值
- smtps://user@domain.com:pass@smtp.domain.com
- 价值
- smtps://user@domain.com:pass@smtp.domain.com
SMTP server host if custom configs is enabled.
- 目标
- MAILER_SMTP_HOST
- 默认值
- smtp.domain.com
- 价值
- smtp.domain.com
SMTP server port if custom configs is enabled.
- 目标
- MAILER_SMTP_PORT
- 默认值
- 587
- 价值
- 587
SMTP secure connection if custom configs is enabled.
- 目标
- MAILER_SMTP_SECURE
- 默认值
- true|false
SMTP username if custom configs is enabled.
- 目标
- MAILER_SMTP_USER
- 默认值
- user@domain.com
- 价值
- user@domain.com
SMTP password if custom configs is enabled.
- 目标
- MAILER_SMTP_PASS
Reject unauthorized TLS connections if custom configs is enabled.
- 目标
- MAILER_TLS_REJECT_UNAUTHORIZED
- 默认值
- true|false
Base URL for the application
- 目标
- VITE_BASE_URL
- 默认值
- http://IP_ADDRESS:3000
- 价值
- http://IP_ADDRESS:3000
Base URL for shortcode sharing, can be the same as Base URL.
- 目标
- VITE_SHORTCODE_BASE_URL
- 默认值
- http://IP_ADDRESS:3000
- 价值
- http://IP_ADDRESS:3000
Admin URL for the application
- 目标
- VITE_ADMIN_URL
- 默认值
- http://IP_ADDRESS:3100
- 价值
- http://IP_ADDRESS:3100
GraphQL URL for the application
- 目标
- VITE_BACKEND_GQL_URL
- 默认值
- http://IP_ADDRESS:3170/graphql
- 价值
- http://IP_ADDRESS:3170/graphql
WebSockets URL for the application
- 目标
- VITE_BACKEND_WS_URL
- 默认值
- wss://IP_ADDRESS:3170/graphql
- 价值
- wss://IP_ADDRESS:3170/graphql
API URL for the application
- 目标
- VITE_BACKEND_API_URL
- 默认值
- http://IP_ADDRESS:3170/v1
- 价值
- http://IP_ADDRESS:3170/v1
Time, in seconds, it takes to refresh the maximum number of requests being received
- 目标
- RATE_LIMIT_TTL
- 默认值
- 60
- 价值
- 60
Maximum number of requests per IP under the TTL
- 目标
- RATE_LIMIT_MAX
- 默认值
- 100
- 价值
- 100
Salt complexity for authentication tokens
- 目标
- TOKEN_SALT_COMPLEXITY
- 默认值
- 10
- 价值
- 10
Duration, in days, for magic link tokens
- 目标
- MAGIC_LINK_TOKEN_VALIDITY
- 默认值
- 3
- 价值
- 3
Duration, in milliseconds, for refresh tokens
- 目标
- REFRESH_TOKEN_VALIDITY
- 默认值
- 604800000
- 价值
- 604800000
Duration, in milliseconds, for access tokens
- 目标
- ACCESS_TOKEN_VALIDITY
- 默认值
- 86400000
- 价值
- 86400000
Set to false if using http. Some auth providers may not support http requests and may stop working when set to false.
- 目标
- ALLOW_SECURE_COOKIES
- 默认值
- false|true
This is an optional variable that lets you specify an alternate port for the container’s endpoint when operating in subpath access mode. By default, this endpoint is exposed on port 80.
- 目标
- HOPP_AIO_ALTERNATE_PORT
- 默认值
- 80
- 价值
- 80
Terms of service link
- 目标
- VITE_APP_TOS_LINK
- 默认值
- https://docs.hoppscotch.io/support/terms
- 价值
- https://docs.hoppscotch.io/support/terms
Privacy policy link
- 目标
- VITE_APP_PRIVACY_POLICY_LINK
- 默认值
- https://docs.hoppscotch.io/support/privacy
- 价值
- https://docs.hoppscotch.io/support/privacy
Title of the app
- 目标
- TITLE
- 默认值
- Wedding Share
- 价值
- Wedding Share
URL of the logo
- 目标
- LOGO
- 默认值
- https://raw.githubusercontent.com/nwithan8/unraid_templates/master/images/wedding-share-icon.png
- 价值
- https://raw.githubusercontent.com/nwithan8/unraid_templates/master/images/wedding-share-icon.png
Number of columns in the gallery
- 目标
- GALLERY_COLUMNS
- 默认值
- 4
- 价值
- 4
Comma separated list of allowed file types
- 目标
- ALLOWED_FILE_TYPES
- 默认值
- .jpg,.jpeg,.png
- 价值
- .jpg,.jpeg,.png
Maximum file size in MB
- 目标
- MAX_FILE_SIZE_MB
- 默认值
- 10
- 价值
- 10
Secret key to combat strangers uploading. Optional, but recommended.
- 目标
- SECRET_KEY
Disable the ability to upload files
- 目标
- DISABLE_UPLOAD
- 默认值
- false|true
Disable the sharable QR code
- 目标
- DISABLE_QR_CODE
- 默认值
- false|true
Hide the secret key from the QR code
- 目标
- HIDE_KEY_FROM_QR_CODE
- 默认值
- false|true
Disable the home link
- 目标
- DISABLE_HOME_LINK
- 默认值
- false|true
Path to uploaded files
- 目标
- /app/wwwroot/uploads
- 默认值
- /mnt/user/appdata/wedding_share/uploads
- 价值
- /mnt/user/appdata/wedding_share/uploads
下载统计数据
长期下载总量
详细信息
hoppscotch/hoppscotch:latest在Unraid 上运行 Hoppscotch 。
Hoppscotch 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。