mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
fix: configure hctv database in compose services
This commit is contained in:
@@ -29,6 +29,7 @@ services:
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: '${PG_PASS}'
|
||||
POSTGRES_DB: hctv
|
||||
volumes:
|
||||
- 'hctv_pgdata:/var/lib/postgresql/data'
|
||||
healthcheck:
|
||||
@@ -45,6 +46,7 @@ services:
|
||||
- POSTGRESQL_PORT=5432
|
||||
- POSTGRESQL_USERNAME=postgres
|
||||
- 'POSTGRESQL_PASSWORD=${PG_PASS}'
|
||||
- POSTGRESQL_DATABASE=hctv
|
||||
- PGBOUNCER_POOL_MODE=transaction
|
||||
- PGBOUNCER_MAX_CLIENT_CONN=100
|
||||
- PGBOUNCER_DEFAULT_POOL_SIZE=20
|
||||
|
||||
Reference in New Issue
Block a user