mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 15:35:24 +02:00
Added Docker Compose setup, configuration template, logo, and metadata for Hoppscotch Community Edition. Includes PostgreSQL, database migrations, and subpath routing for self-hosted API testing tool deployment.
41 lines
1.2 KiB
TOML
41 lines
1.2 KiB
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
db_password = "${password:32}"
|
|
encryption_key = "${password:32}"
|
|
|
|
[config]
|
|
|
|
[[config.domains]]
|
|
serviceName = "hoppscotch"
|
|
port = 80
|
|
host = "${main_domain}"
|
|
path = "/"
|
|
|
|
[config.env]
|
|
# Database & Encryption
|
|
POSTGRES_DB = "hoppscotch"
|
|
POSTGRES_USER = "hoppscotch"
|
|
POSTGRES_PASSWORD = "${db_password}"
|
|
DATABASE_URL = "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}"
|
|
DATA_ENCRYPTION_KEY = "${encryption_key}"
|
|
|
|
# AIO Port
|
|
HOPP_AIO_ALTERNATE_PORT = "80"
|
|
|
|
# Whitelist / Routing
|
|
WHITELISTED_ORIGINS = "https://${main_domain},http://${main_domain},app://hoppscotch"
|
|
VITE_BASE_URL = "https://${main_domain}"
|
|
VITE_SHORTCODE_BASE_URL = "https://${main_domain}"
|
|
VITE_ADMIN_URL = "https://${main_domain}/admin"
|
|
VITE_BACKEND_GQL_URL = "https://${main_domain}/backend/graphql"
|
|
VITE_BACKEND_WS_URL = "wss://${main_domain}/backend/graphql"
|
|
VITE_BACKEND_API_URL = "https://${main_domain}/backend/v1"
|
|
|
|
# Legal Links
|
|
VITE_APP_TOS_LINK = "https://docs.hoppscotch.io/support/terms"
|
|
VITE_APP_PRIVACY_POLICY_LINK = "https://docs.hoppscotch.io/support/privacy"
|
|
|
|
# Subpath Access
|
|
ENABLE_SUBPATH_BASED_ACCESS = "true"
|
|
|
|
[[config.mounts]] |