This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
shoarma/ansible/roles/freshrss/docker-stack.yml.j2

40 lines
1.1 KiB
Text
Raw Normal View History

2023-05-02 15:25:42 +00:00
# vi: ft=yaml
version: "3"
networks:
traefik:
external: true
services:
freshrss:
image: freshrss/freshrss:edge
networks:
- traefik
volumes:
- type: bind
source: /mnt/data/freshrss/data
target: /var/www/FreshRSS/data
- type: bind
source: /mnt/data/freshrss/extensions
target: /var/www/FreshRSS/extensions
environment:
TZ: Europe/Amsterdam
CRON_MIN: '2,32'
ADMIN_EMAIL: pim@kunis.nl
ADMIN_PASSWORD: {{ admin_password }}
ADMIN_API_PASSWORD: {{ admin_password }}
PUBLISHED_PORT: 443
deploy:
placement:
constraints:
- "node.labels.freshrss == true"
labels:
- traefik.enable=true
- traefik.http.routers.freshrss.entrypoints=websecure
- traefik.http.routers.freshrss.rule=Host(`rss.pim.kunis.nl`)
- traefik.http.routers.freshrss.tls=true
- traefik.http.routers.freshrss.tls.certresolver=letsencrypt
- traefik.http.routers.freshrss.service=freshrss
- traefik.http.services.freshrss.loadbalancer.server.port=80
- traefik.docker.network=traefik