Disable pgbouncer mode=transaction

This commit is contained in:
Daniel Berteaud 2024-04-04 11:04:06 +02:00
parent e2a25f667d
commit 2fb3ce3a30
4 changed files with 10 additions and 4 deletions

View File

@ -8,7 +8,7 @@ ENV LISTEN_ADDR=0.0.0.0:8085 \
CREATE_ADMIN=1 \
ADMIN_USERNAME=admin \
ADMIN_PASSWORD=miniflux \
PROXY_IMAGES=all \
MEDIA_PROXY_IMAGES=all \
POLLING_FREQUENCY=15 \
POLLING_PARSING_ERROR_LIMIT=8

View File

@ -128,7 +128,7 @@ job "miniflux" {
driver = "docker"
config {
image = "danielberteaud/miniflux:2.1.2-1"
image = "danielberteaud/miniflux:2.1.2-2"
pids_limit = 100
readonly_rootfs = true
}

View File

@ -8,7 +8,7 @@ ENV LISTEN_ADDR=0.0.0.0:8085 \
CREATE_ADMIN=1 \
ADMIN_USERNAME=admin \
ADMIN_PASSWORD=miniflux \
PROXY_IMAGES=all \
MEDIA_PROXY_IMAGES=all \
POLLING_FREQUENCY=15 \
POLLING_PARSING_ERROR_LIMIT=8

View File

@ -9,7 +9,7 @@ miniflux:
version: 2.1.2
# Docker image to use
image: '[[ .docker.repo ]]miniflux:[[ .miniflux.version ]]-1'
image: '[[ .docker.repo ]]miniflux:[[ .miniflux.version ]]-2'
# Number of instance to run
count: 1
@ -41,6 +41,12 @@ miniflux:
# Traefik settings
traefik: {}
# Postgres settings
postgres:
pooler:
# Disable transaction mode as it's not working correctly (a lot of rollbacks, duplicated articles etc.)
mode: session
# Prometheus configuration
prometheus:
enabled: '[[ .prometheus.available ]]'