mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-29 18:00:26 -06:00
* 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
30 lines
750 B
YAML
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
|