More memory is needed + rework variables

This commit is contained in:
Daniel Berteaud 2023-10-17 16:42:09 +02:00
parent 2dd6df1582
commit 745bdc72c9
1 changed files with 23 additions and 22 deletions

View File

@ -4,6 +4,20 @@ miniflux:
# Name of this instance (controls job and service name)
instance: miniflux
# Docker image to use
image: danielberteaud/miniflux:2.0.49-1
# Resources for the container
resources:
cpu: 50
memory: 192
# Additional env var to pass to the container
env: {}
# Public URL of the service
public_url: https://flux.example.org
# Postgres database settings
db:
host: localhost
@ -11,27 +25,14 @@ miniflux:
user: '[[ .miniflux.instance ]]'
name: '[[ .miniflux.instance ]]'
# Default to try to connect to a postgres service from the service mesh
consul:
connect:
upstreams:
- destination_name: postgres
local_bind_port: 5432
# Prometheus configuration
prometheus:
metrics_url: http://localhost:8085/metrics
# Docker image to use
image: danielberteaud/miniflux:2.0.49-1
# Default to try to connect to a postgres service from the service mesh
consul:
connect:
upstreams:
- destination_name: postgres
local_bind_port: 5432
# Resources for the container
resources:
cpu: 50
memory: 64
# Additional env var to pass to the container
env: {}
# Public URL of the service
public_url: https://flux.example.org
# Prometheus configuration
prometheus:
metrics_url: http://localhost:8085/metrics