Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
102 lines (101 loc) · 2.73 KB
/
Copy pathdocker-compose.yml
File metadata and controls
102 lines (101 loc) · 2.73 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: "3.9"
services:
db:
image: postgres:17.2
environment:
- POSTGRES_DB=zeva
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- 5433:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7.4-bookworm
command: redis-server /usr/local/etc/redis/redis.conf
ports:
- 6379:6379
volumes:
- ./next/redis/conf:/usr/local/etc/redis
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
minio:
image: ghcr.io/coollabsio/minio:2025-10-15T17-29-55Z
volumes:
- ./minio:/minio_files
command: 'minio server /minio_files --console-address ":9001"'
ports:
- 9000:9000
- 9001:9001
healthcheck:
test: "mc ready local"
start_period: 5s
interval: 5s
timeout: 5s
retries: 3
next:
build: ./next
command: npm run dev
volumes:
- ./next:/next
- /next/node_modules
ports:
- 3000:3000
env_file:
- s3.env
environment:
- AUTH_SECRET=Ils7nkPcqmp+RHvx2uX8Nwl/MUI8cHnNfmeZS7F8M7k=
- AUTH_KEYCLOAK_ID=zeva-on-gold-4543
- AUTH_KEYCLOAK_ISSUER=https://dev.loginproxy.gov.bc.ca/auth/realms/standard
- DATABASE_URL=postgresql://postgres:postgres@db:5432/zeva?schema=public
- DATABASE_URL_FOR_MIGRATIONS=postgresql://postgres:postgres@db:5432/zeva?schema=public
- DATABASE_URL_OLD=postgresql://postgres:postgres@host.docker.internal:5432/zeva?schema=public
- START_WORKERS=false
- TZ=America/Vancouver
- BEGINNING_OF_COMPLIANCE_YEAR=10-01T00:00:00.000
- END_OF_COMPLIANCE_YEAR=09-30T23:59:59.999
- CTHUB_URL=http://host.docker.internal:8000/api
- CTHUB_TOKEN
- ZEVA2_VERSION
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
minio:
condition: service_healthy
healthcheck:
test: "curl --fail --max-time 5 http://localhost:3000/api/health"
start_period: 15s
interval: 15s
timeout: 10s
retries: 3
bullmq:
build: ./next
command: npm run bullmqDev
volumes:
- ./next:/next
- /next/node_modules
env_file:
- s3.env
environment:
- DATABASE_URL=postgresql://postgres:postgres@db:5432/zeva?schema=public
- START_WORKERS=true
- TZ=America/Vancouver
- CHES_AUTH_URL
- CHES_EMAIL_URL
- EMAIL_SERVICE_CLIENT_ID
- EMAIL_SERVICE_CLIENT_SECRET
- SENDER_EMAIL
- SENDER_NAME
- SEND_NOTIFICATION_EMAILS=false
- ZEVA_URL=http://localhost:3000
depends_on:
next:
condition: service_healthy