2023-10-17 14:26:40 +02:00
|
|
|
---
|
|
|
|
|
2023-12-21 22:55:20 +01:00
|
|
|
# Name of this instance (controls job and service name)
|
|
|
|
instance: miniflux
|
2023-10-17 14:26:40 +02:00
|
|
|
|
2023-12-21 22:55:20 +01:00
|
|
|
miniflux:
|
2024-02-17 22:43:07 +01:00
|
|
|
|
|
|
|
# Version of miniflux
|
2024-04-28 13:47:17 +02:00
|
|
|
version: 2.1.3
|
2023-10-18 11:08:44 +02:00
|
|
|
|
2023-10-17 14:26:40 +02:00
|
|
|
# Docker image to use
|
2024-04-28 13:47:17 +02:00
|
|
|
image: '[[ .docker.repo ]]miniflux:[[ .miniflux.version ]]-1'
|
2024-02-17 22:43:07 +01:00
|
|
|
|
|
|
|
# Number of instance to run
|
|
|
|
count: 1
|
2023-10-17 14:26:40 +02:00
|
|
|
|
|
|
|
# Resources for the container
|
|
|
|
resources:
|
|
|
|
cpu: 50
|
2023-10-17 16:42:09 +02:00
|
|
|
memory: 192
|
2023-10-17 14:26:40 +02:00
|
|
|
|
2023-11-01 22:58:02 +01:00
|
|
|
wait_for:
|
2024-01-09 11:05:19 +01:00
|
|
|
- service: master.postgres[[ .consul.suffix ]]
|
|
|
|
|
|
|
|
consul:
|
|
|
|
connect:
|
|
|
|
upstreams:
|
|
|
|
- destination_name: 'postgres[[ .consul.suffix ]]'
|
|
|
|
local_bind_port: 5432
|
|
|
|
|
|
|
|
vault:
|
|
|
|
policies:
|
|
|
|
- '[[ .instance ]][[ .consul.suffix ]]'
|
2023-11-01 22:58:02 +01:00
|
|
|
|
2023-10-17 14:26:40 +02:00
|
|
|
# Additional env var to pass to the container
|
2024-01-09 11:05:19 +01:00
|
|
|
env: {}
|
2023-10-17 14:26:40 +02:00
|
|
|
|
|
|
|
# Public URL of the service
|
|
|
|
public_url: https://flux.example.org
|
|
|
|
|
2024-01-26 22:16:47 +01:00
|
|
|
# Traefik settings
|
2024-01-29 00:12:18 +01:00
|
|
|
traefik: {}
|
2024-01-26 22:16:47 +01:00
|
|
|
|
2024-04-04 11:04:06 +02:00
|
|
|
# Postgres settings
|
|
|
|
postgres:
|
|
|
|
pooler:
|
|
|
|
# Disable transaction mode as it's not working correctly (a lot of rollbacks, duplicated articles etc.)
|
|
|
|
mode: session
|
|
|
|
|
2023-10-17 16:42:09 +02:00
|
|
|
# Prometheus configuration
|
|
|
|
prometheus:
|
2024-03-27 11:58:37 +01:00
|
|
|
enabled: '[[ .prometheus.available ]]'
|
2023-10-17 16:42:09 +02:00
|
|
|
metrics_url: http://localhost:8085/metrics
|
|
|
|
|