mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: Add extensive collection of application blueprints with Docker Compose configurations
This commit is contained in:
37
blueprints/formbricks/docker-compose.yml
Normal file
37
blueprints/formbricks/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
x-environment: &environment
|
||||
environment:
|
||||
WEBAPP_URL: ${WEBAPP_URL}
|
||||
NEXTAUTH_URL: ${NEXTAUTH_URL}
|
||||
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/formbricks?schema=public"
|
||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
||||
ENCRYPTION_KEY: ${ENCRYPTION_KEY}
|
||||
CRON_SECRET: ${CRON_SECRET}
|
||||
EMAIL_VERIFICATION_DISABLED: 1
|
||||
PASSWORD_RESET_DISABLED: 1
|
||||
S3_FORCE_PATH_STYLE: 0
|
||||
|
||||
services:
|
||||
postgres:
|
||||
restart: always
|
||||
image: pgvector/pgvector:pg17
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
|
||||
|
||||
formbricks:
|
||||
restart: always
|
||||
image: ghcr.io/formbricks/formbricks:v3.1.3
|
||||
depends_on:
|
||||
- postgres
|
||||
ports:
|
||||
- 3000
|
||||
volumes:
|
||||
- ../files/uploads:/home/nextjs/apps/web/uploads/
|
||||
<<: *environment
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
driver: local
|
||||
uploads:
|
||||
BIN
blueprints/formbricks/formbricks.png
Normal file
BIN
blueprints/formbricks/formbricks.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
20
blueprints/formbricks/template.yml
Normal file
20
blueprints/formbricks/template.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
variables:
|
||||
main_domain: ${randomDomain}
|
||||
secret_base: ${base64:64}
|
||||
encryption_key: ${base64:48}
|
||||
cron_secret: ${base64:32}
|
||||
|
||||
config:
|
||||
domains:
|
||||
- serviceName: formbricks
|
||||
port: 3000
|
||||
host: ${main_domain}
|
||||
|
||||
env:
|
||||
- WEBAPP_URL=http://${main_domain}
|
||||
- NEXTAUTH_URL=http://${main_domain}
|
||||
- NEXTAUTH_SECRET=${secret_base}
|
||||
- ENCRYPTION_KEY=${encryption_key}
|
||||
- CRON_SECRET=${cron_secret}
|
||||
|
||||
mounts: []
|
||||
Reference in New Issue
Block a user