forked from pezzolabs/pezzo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
71 lines (68 loc) · 1.71 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
include:
- ./docker-compose.infra.yaml
services:
pezzo-server:
image: ghcr.io/pezzolabs/pezzo/server:latest
build:
context: .
dockerfile: ./apps/server/Dockerfile
restart: always
env_file:
- ./.env
- ./.env.local
- ./.env.docker
- ./apps/server/.env
- ./apps/server/.env.local
environment:
- SUPERTOKENS_CONNECTION_URI=http://supertokens:3567
- CLICKHOUSE_HOST=clickhouse
- REDIS_URL=redis://redis-stack-server:6379
- KMS_LOCAL_ENDPOINT=http://local-kms:9981
ports:
- "3000:3000"
depends_on:
pezzo-prisma-migrate:
condition: service_completed_successfully
pezzo-clickhouse-migrate:
condition: service_completed_successfully
postgres:
condition: service_healthy
supertokens:
condition: service_healthy
clickhouse:
condition: service_healthy
redis-stack-server:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl 'http://pezzo-server:3000/api/healthz'"]
interval: 10s
timeout: 5s
retries: 5
pezzo-console:
image: ghcr.io/pezzolabs/pezzo/console:latest
build:
context: .
dockerfile: ./apps/console/Dockerfile
restart: always
env_file:
- ./.env
- ./apps/console/.env
ports:
- "4200:8080"
depends_on:
pezzo-server:
condition: service_healthy
pezzo-proxy:
image: ghcr.io/pezzolabs/pezzo/proxy:latest
build:
context: .
dockerfile: ./apps/proxy/Dockerfile
restart: always
env_file:
- ./.env
- ./apps/proxy/.env
ports:
- "3001:3000"
depends_on:
pezzo-server:
condition: service_healthy