fix(): postgres config
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
services:
|
||||
postgresql:
|
||||
image: docker.io/postgres:18-alpine
|
||||
command:
|
||||
- -c
|
||||
- config_file=/etc/postgresql/postgresql.conf
|
||||
configs:
|
||||
- source: postgresql_config
|
||||
target: /etc/postgresql/postgresql.conf
|
||||
- source: postgresql_hba_config
|
||||
target: /etc/postgresql/pg_hba.conf
|
||||
env_file:
|
||||
- path: ./infrastructure/configs/postgresql/.env.template
|
||||
required: true
|
||||
@@ -138,5 +143,7 @@ volumes:
|
||||
configs:
|
||||
postgresql_config:
|
||||
file: ./infrastructure/configs/postgresql/postgresql.conf
|
||||
postgresql_hba_config:
|
||||
file: ./infrastructure/configs/postgresql/pg_hba.conf
|
||||
valkey_config:
|
||||
file: ./infrastructure/configs/valkey/valkey.conf
|
||||
|
||||
Reference in New Issue
Block a user