mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
🔧 Fix default docker compose file, add db to same network
Linked to #2056
This commit is contained in:
parent
0606fa3d8b
commit
d79dfbb5a7
@ -1,6 +1,5 @@
|
||||
import { datesAreOnSameDay } from "@/helpers/datesAreOnSameDate";
|
||||
import { env } from "@typebot.io/env";
|
||||
import { getIp } from "@typebot.io/lib/getIp";
|
||||
import { isDefined } from "@typebot.io/lib/utils";
|
||||
import prisma from "@typebot.io/prisma";
|
||||
import { clientUserSchema } from "@typebot.io/schemas/features/user/schema";
|
||||
|
||||
@ -21,10 +21,12 @@ services:
|
||||
- POSTGRES_DB=typebot
|
||||
- POSTGRES_PASSWORD=typebot
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- typebot-network
|
||||
|
||||
typebot-redis:
|
||||
image: redis:alpine
|
||||
@ -45,13 +47,13 @@ services:
|
||||
<<: *typebot-common
|
||||
image: baptistearno/typebot-builder:latest
|
||||
ports:
|
||||
- '8080:3000'
|
||||
- "8080:3000"
|
||||
|
||||
typebot-viewer:
|
||||
<<: *typebot-common
|
||||
image: baptistearno/typebot-viewer:latest
|
||||
ports:
|
||||
- '8081:3000'
|
||||
- "8081:3000"
|
||||
|
||||
networks:
|
||||
typebot-network:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user