created Formbricks

This commit is contained in:
2026-04-17 23:19:49 -07:00
parent c5caafdaa6
commit 29d174945b
2 changed files with 73 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
services:
postgres:
image: postgres:15-alpine
container_name: formbricks-db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: formbricks
volumes:
- postgres-data:/var/lib/postgresql/data
restart: unless-stopped
formbricks:
image: ghcr.io/formbricks/formbricks:latest
container_name: formbricks-app
depends_on:
- postgres
ports:
- "${PORT}:3000"
environment:
WEBAPP_URL: ${WEBAPP_URL}
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/formbricks?schema=public
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
NEXTAUTH_URL: ${WEBAPP_URL}
ENCRYPTION_KEY: ${ENCRYPTION_KEY}
MAIL_FROM: ${MAIL_FROM}
SMTP_HOST: ${SMTP_HOST}
SMTP_PORT: ${SMTP_PORT}
SMTP_SECURE_ENABLED: ${SMTP_SECURE_ENABLED}
SMTP_USER: ${SMTP_USER}
SMTP_PASSWORD: ${SMTP_PASSWORD}
restart: unless-stopped
volumes:
postgres-data: