2
0

anpassen der composefiles

This commit is contained in:
2024-09-12 13:52:42 +02:00
parent 4a5748a499
commit 1a234beaf6
3 changed files with 57 additions and 33 deletions

View File

@ -0,0 +1,29 @@
services:
typebot-db:
image: postgres:13
restart: always
volumes:
- ${PWD}/.typebot-build/database:/var/lib/postgresql/data
environment:
- POSTGRES_DB=typebot
- POSTGRES_PASSWORD=typebot
typebot-builder:
build:
context: .
args:
- SCOPE=builder
depends_on:
- typebot-db
ports:
- '8080:3000'
extra_hosts:
- 'host.docker.internal:host-gateway'
env_file: .env
typebot-viewer:
build:
context: .
args:
- SCOPE=viewer
ports:
- '8081:3000'
env_file: .env