-
-
Notifications
You must be signed in to change notification settings - Fork 437
Expand file tree
/
Copy pathcompose.dbs.yml
More file actions
32 lines (31 loc) · 1000 Bytes
/
compose.dbs.yml
File metadata and controls
32 lines (31 loc) · 1000 Bytes
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
services:
db:
image: ${POSTGRES_IMAGE:-supabase/postgres:17.6.1.127}
ports:
- "5432:5432"
volumes:
- ./dev/postgres/zz-supabase-schema.sql:/docker-entrypoint-initdb.d/zz-supabase-schema.sql
command: postgres -c config_file=/etc/postgresql/postgresql.conf
environment:
POSTGRES_HOST: /var/run/postgresql
POSTGRES_PASSWORD: postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
tenant_db:
image: ${POSTGRES_IMAGE:-supabase/postgres:17.6.1.127}
ports:
- "5433:5432"
volumes:
- ./dev/postgres/zz-supabase-schema.sql:/docker-entrypoint-initdb.d/zz-supabase-schema.sql
command: postgres -c config_file=/etc/postgresql/postgresql.conf
environment:
POSTGRES_HOST: /var/run/postgresql
POSTGRES_PASSWORD: postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5