Update Formbricks/docker-compose.yaml
This commit is contained in:
@@ -10,20 +10,21 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql/data
|
- postgres-data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U postgres -d formbricks"]
|
test: ["CMD-SHELL", "psql -U postgres -d formbricks -c 'SELECT 1' > /dev/null 2>&1"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 10
|
||||||
|
start_period: 10s
|
||||||
|
|
||||||
formbricks:
|
formbricks:
|
||||||
image: ghcr.io/formbricks/formbricks:latest
|
image: ghcr.io/formbricks/formbricks:latest
|
||||||
container_name: formbricks
|
container_name: formbricks-app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- "${PORT}:3000"
|
- ${PORT}:3000
|
||||||
environment:
|
environment:
|
||||||
WEBAPP_URL: ${WEBAPP_URL}
|
WEBAPP_URL: ${WEBAPP_URL}
|
||||||
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/formbricks?schema=public
|
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/formbricks?schema=public
|
||||||
|
|||||||
Reference in New Issue
Block a user