Update pgpooler template and use default pooler mode

This commit is contained in:
Daniel Berteaud 2024-01-15 17:05:33 +01:00
parent 098ae4a8bb
commit fa7d146566
2 changed files with 1 additions and 3 deletions

View File

@ -67,7 +67,7 @@ job [[ .instance | toJSON ]] {
}
[[ template "common/task.wait_for" $c ]]
[[ template "common/postgres_pooler" $c ]]
[[ template "common/task.pgpooler" $c ]]
# The main immich API server
task "server" {

View File

@ -12,8 +12,6 @@ immich:
database: '[[ .instance ]]'
user: '{{ with secret "[[ .vault.prefix ]]database/creds/[[ .instance ]]" }}{{ .Data.username }}{{ end }}'
password: '{{ with secret "[[ .vault.prefix ]]database/creds/[[ .instance ]]" }}{{ .Data.password }}{{ end }}'
pooler:
mode: session
# API server settings
server: