Add Docker Compose file for Formbricks service
This commit is contained in:
parent
2001be07d0
commit
066f171163
60
templates/compose/formbricks.yaml
Normal file
60
templates/compose/formbricks.yaml
Normal file
@ -0,0 +1,60 @@
|
||||
# documentation: https://formbricks.com/docs/self-hosting/docker
|
||||
# slogan: Open Source Experience Management
|
||||
# tags: form, builder, forms, open source, experience, management, self-hosted, docker
|
||||
|
||||
services:
|
||||
formbricks:
|
||||
image: formbricks/formbricks:latest
|
||||
environment:
|
||||
- SERVICE_FQDN_FORMBRICKS
|
||||
- WEBAPP_URL=$SERVICE_FQDN_FORMBRICKS
|
||||
- DATABASE_URL=postgres://$SERVICE_USER_POSTGRESQL:$SERVICE_PASSWORD_POSTGRESQL@postgresql:5432/${POSTGRESQL_DATABASE:-formbricks}
|
||||
- NEXTAUTH_SECRET=$SERVICE_BASE64_64_NEXTAUTH
|
||||
- NEXTAUTH_URL=$SERVICE_FQDN_FORMBRICKS
|
||||
- ENCRYPTION_KEY=$SERVICE_BASE64_64_ENCRYPTION
|
||||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
|
||||
- MAIL_FROM=${MAIL_FROM:-test@example.com}
|
||||
- SMTP_HOST=${SMTP_HOST:-test.example.com}
|
||||
- SMTP_PORT=${SMTP_PORT:-587}
|
||||
- SMTP_USER=${SMTP_USER:-test}
|
||||
- SMTP_PASSWORD=${SMTP_PASSWORD:-test}
|
||||
- SMTP_SECURE_ENABLED=${SMTP_SECURE_ENABLED:-0}
|
||||
- SHORT_URL_BASE=${SHORT_URL_BASE}
|
||||
- EMAIL_VERIFICATION_DISABLED=${EMAIL_VERIFICATION_DISABLED:-1}
|
||||
- PASSWORD_RESET_DISABLED=${PASSWORD_RESET_DISABLED:-1}
|
||||
- SIGNUP_DISABLED=${SIGNUP_DISABLED:-0}
|
||||
- INVITE_DISABLED=${INVITE_DISABLED:-0}
|
||||
- PRIVACY_URL=${PRIVACY_URL}
|
||||
- TERMS_URL=${TERMS_URL}
|
||||
- IMPRINT_URL=${IMPRINT_URL}
|
||||
- GITHUB_AUTH_ENABLED=${GITHUB_AUTH_ENABLED:-0}
|
||||
- GITHUB_ID=${GITHUB_ID}
|
||||
- GITHUB_SECRET=${GITHUB_SECRET}
|
||||
- GOOGLE_AUTH_ENABLED=${GOOGLE_AUTH_ENABLED:-0}
|
||||
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
|
||||
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
|
||||
- ASSET_PREFIX_URL=${ASSET_PREFIX_URL}
|
||||
volumes:
|
||||
- formbricks-uploads:/apps/web/uploads/
|
||||
depends_on:
|
||||
postgresql:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000"]
|
||||
interval: 2s
|
||||
timeout: 10s
|
||||
retries: 15
|
||||
|
||||
postgresql:
|
||||
image: postgres:16-alpine
|
||||
volumes:
|
||||
- formbricks-postgresql-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=${SERVICE_USER_POSTGRESQL}
|
||||
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
|
||||
- POSTGRES_DB=${POSTGRESQL_DATABASE:-formbricks}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
|
||||
interval: 5s
|
||||
timeout: 20s
|
||||
retries: 10
|
@ -152,6 +152,21 @@
|
||||
"administration-tool"
|
||||
]
|
||||
},
|
||||
"formbricks": {
|
||||
"documentation": "https:\/\/formbricks.com\/docs\/self-hosting\/docker",
|
||||
"slogan": "Open Source Experience Management",
|
||||
"compose": "c2VydmljZXM6CiAgZm9ybWJyaWNrczoKICAgIGltYWdlOiAnZm9ybWJyaWNrcy9mb3JtYnJpY2tzOmxhdGVzdCcKICAgIGVudmlyb25tZW50OgogICAgICAtIFNFUlZJQ0VfRlFETl9GT1JNQlJJQ0tTCiAgICAgIC0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GVydmFsOiAycwogICAgICB0aW1lb3V0OiAxMHMKICAgICAgcmV0cmllczogMTUKICBwb3N0Z3Jlc3FsOgogICAgaW1hZ2U6ICdwb3N0Z3JlczoxNi1hbHBpbmUnCiAgICB2b2x1bWVzOgogICAgICAtICdmb3JtYnJpY2tzLXBvc3RncmVzcWwtZGF0YTovdmFyL2xpYi9wb3N0Z3Jlc3FsL2RhdGEnCiAgICBlbnZpcm9ubWVudDoKICAgICAgLSAnUE9TVEdSRVNfVVNFUj0ke1NFUlZJQ0VfVVNFUl9QT1NUR1JFU1FMfScKICAgICAgLSAnUE9TVEdSRVNfUEFTU1dPUkQ9JHtTRVJWSUNFX1BBU1NXT1JEX1BPU1RHUkVTUUx9JwogICAgICAtICdQT1NUR1JFU19EQj0ke1BPU1RHUkVTUUxfREFUQUJBU0U6LWZvcm1icmlja3N9JwogICAgaGVhbHRoY2hlY2s6CiAgICAgIHRlc3Q6CiAgICAgICAgLSBDTUQtU0hFTEwKICAgICAgICAtICdwZ19pc3JlYWR5IC1VICQke1BPU1RHUkVTX1VTRVJ9IC1kICQke1BPU1RHUkVTX0RCfScKICAgICAgaW50ZXJ2YWw6IDVzCiAgICAgIHRpbWVvdXQ6IDIwcwogICAgICByZXRyaWVzOiAxMAo=",
|
||||
"tags": [
|
||||
"form",
|
||||
"builder",
|
||||
"forms",
|
||||
"open source",
|
||||
"experience",
|
||||
"management",
|
||||
"self-hosted",
|
||||
"docker"
|
||||
]
|
||||
},
|
||||
"ghost": {
|
||||
"documentation": "https:\/\/ghost.org\/docs",
|
||||
"slogan": "Ghost is a popular open-source content management system (CMS) and blogging platform, known for its simplicity and focus on content creation.",
|
||||
|
Loading…
Reference in New Issue
Block a user