55 lines
1.0 KiB
YAML
55 lines
1.0 KiB
YAML
---
|
|
|
|
# Name of this instance (controls job and service name)
|
|
instance: miniflux
|
|
|
|
miniflux:
|
|
|
|
# Version of miniflux
|
|
version: 2.1.3
|
|
|
|
# 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: 192
|
|
|
|
wait_for:
|
|
- service: master.postgres[[ .consul.suffix ]]
|
|
|
|
consul:
|
|
connect:
|
|
upstreams:
|
|
- destination_name: 'postgres[[ .consul.suffix ]]'
|
|
local_bind_port: 5432
|
|
|
|
vault:
|
|
policies:
|
|
- '[[ .instance ]][[ .consul.suffix ]]'
|
|
|
|
# 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
|
|
|
|
# Prometheus configuration
|
|
prometheus:
|
|
enabled: '[[ .prometheus.available ]]'
|
|
metrics_url: http://localhost:8085/metrics
|
|
|