-
-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathdocker-compose.db.yml
More file actions
23 lines (22 loc) · 1017 Bytes
/
docker-compose.db.yml
File metadata and controls
23 lines (22 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: "3"
services:
db:
image: supabase/postgres:15.14.1.072
container_name: supavisor-db
ports:
- "6432:5432"
volumes:
- ./dev/postgres:/docker-entrypoint-initdb.d/
# Uncomment to set MD5 authentication method on uninitialized databases
# - ./dev/postgres/md5/etc/postgresql/pg_hba.conf:/etc/postgresql/pg_hba.conf
# Uncomment to set password authentication method on uninitialized databases
# - ./dev/postgres/password/etc/postgresql/pg_hba.conf:/etc/postgresql/pg_hba.conf
command: postgres -c config_file=/etc/postgresql/postgresql.conf -c max_prepared_transactions=2000
environment:
POSTGRES_HOST: /var/run/postgresql
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
# Uncomment to set MD5 authentication method on uninitialized databases
# POSTGRES_INITDB_ARGS: --auth-host=md5
# Uncomment to set password authentication method on uninitialized databases
# POSTGRES_INITDB_ARGS: --auth-host=password