Files
formbricks-formbricks/docker-compose.yml
Matti Nannt 8ea6016cf5 Sync surveys and events with formbricks-js automatically (#537)
* add first part of sync service

* add actionClasses to js sync

* fix errors, add product to sync

* rewrite formbricks-js for new states and types

* fix tests

* fix build errors

* add cors

* fix cors errors and other bugs

* comment test in checks until working again
2023-07-13 00:49:58 +02:00

30 lines
750 B
YAML

version: "3.3"
services:
postgres:
restart: always
image: postgres:15-alpine
volumes:
- postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
formbricks:
restart: always
build:
context: .
dockerfile: ./apps/web/Dockerfile
depends_on:
- postgres
env_file:
- .env
labels:
- "traefik.enable=true"
- "traefik.http.routers.formbricks.rule=Host(`api.example.com`)" # TODO: Change with your own domain
- "traefik.http.routers.formbricks.tls.certresolver=default"
- "traefik.http.routers.formbricks.entrypoints=websecure"
- "traefik.http.services.formbricks.loadbalancer.server.port=3000"
volumes:
postgres:
driver: local