53 lines
1002 B
YAML
53 lines
1002 B
YAML
---
|
|
|
|
# Name of this instance (controls job and service name)
|
|
instance: miniflux
|
|
|
|
miniflux:
|
|
|
|
# Version of miniflux
|
|
version: 2.2.6
|
|
|
|
# Docker image to use
|
|
image: '[[ .docker.repo ]]miniflux:[[ .miniflux.version ]]-1'
|
|
|
|
# Number of instance to run
|
|
count: 1
|
|
|
|
# Resources for the container
|
|
resources:
|
|
cpu: 50
|
|
memory: 256
|
|
memory_max: 384
|
|
|
|
wait_for:
|
|
- service: primary.postgres[[ .consul.suffix ]]
|
|
|
|
consul:
|
|
connect:
|
|
upstreams:
|
|
- destination_name: 'postgres[[ .consul.suffix ]]'
|
|
local_bind_port: 5432
|
|
|
|
# Additional env var to pass to the container
|
|
env: {}
|
|
|
|
# Public URL of the service
|
|
public_url: https://flux.example.org
|
|
|
|
# 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
|
|
|
|
# Expose metrics
|
|
metrics:
|
|
endpoints:
|
|
main:
|
|
target: http://127.0.0.1:8085/metrics
|
|
|