Skip to content

Commit 27f52fc

Browse files
committed
Apply custom config to postgres docker image
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 648d6d8 commit 27f52fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ version: '3'
33
services:
44
db:
55
image: postgres:13
6+
command: -c config_file=/etc/postgresql/postgresql.conf
67
env_file:
78
- docker.env
89
volumes:
10+
- ./etc/postgresql/postgresql.conf:/etc/postgresql/postgresql.conf
911
- db_data:/var/lib/postgresql/data/
1012

1113
web:

0 commit comments

Comments
 (0)