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

53 lines
1.3 KiB
Text
Raw Normal View History

2023-05-02 15:25:42 +00:00
# vi: ft=yaml
version: "3"
networks:
traefik:
external: true
2023-06-14 09:27:44 +00:00
volumes:
data:
driver_opts:
type: "nfs"
o: "addr=192.168.30.10,nolock,soft,rw"
device: ":/mnt/data/freshrss/data"
extensions:
driver_opts:
type: "nfs"
o: "addr=192.168.30.10,nolock,soft,rw"
device: ":/mnt/data/freshrss/extensions"
2023-05-02 15:25:42 +00:00
services:
freshrss:
image: freshrss/freshrss:edge
networks:
- traefik
volumes:
2023-06-14 09:27:44 +00:00
- type: volume
source: data
2023-05-02 15:25:42 +00:00
target: /var/www/FreshRSS/data
2023-06-14 09:27:44 +00:00
volume:
nocopy: true
- type: volume
source: extensions
2023-05-02 15:25:42 +00:00
target: /var/www/FreshRSS/extensions
2023-06-14 09:27:44 +00:00
volume:
nocopy: true
2023-05-02 15:25:42 +00:00
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:
labels:
- traefik.enable=true
- traefik.http.routers.freshrss.entrypoints=websecure
2023-06-14 09:27:44 +00:00
- traefik.http.routers.freshrss.rule=Host(`rss.kun.is`)
2023-05-02 15:25:42 +00:00
- 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