2
0
Files
bot/docker-compose.yml

38 lines
715 B
YAML
Raw Normal View History

version: '3.9'
2021-11-29 15:19:07 +01:00
services:
typebot_db:
2021-11-29 15:19:07 +01:00
image: postgres:13
restart: always
volumes:
- db_data:/var/lib/postgresql/data
2021-12-06 15:48:50 +01:00
environment:
- POSTGRES_DB=typebot
- POSTGRES_PASSWORD=typebot
typebot_builder:
depends_on:
- typebot_db
build:
context: .
args:
- SCOPE=builder
ports:
- '8080:3000'
env_file:
- typebot-config.env
command: 'sleep 10 && npx prisma migrate deploy && node server.js'
typebot_viewer:
depends_on:
- typebot_db
restart: always
build:
context: .
args:
- SCOPE=viewer
ports:
- '8081:3000'
env_file:
- typebot-config.env
2021-11-29 15:19:07 +01:00
volumes:
db_data:
s3_data: