fix(): postgres config

This commit is contained in:
ITQ
2026-02-24 19:46:12 +03:00
parent 2056041ee2
commit ade94d35fd
3 changed files with 12 additions and 3 deletions
+7
View File
@@ -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