mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-14 04:23:56 +00:00
170f4a45c3
RSS-Bridge is a PHP project capable of generating RSS and Atom feeds for websites that don't have one. It can be used on webservers or as a stand-alone application in CLI mode. Important: RSS-Bridge is not a feed reader or feed aggregator, but a tool to generate feeds that are consumed by feed readers and feed aggregators.
27 lines
964 B
YAML
27 lines
964 B
YAML
---
|
|
- name: Create RSSBridge Directories
|
|
file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
# mode: 0755
|
|
with_items:
|
|
- "{{ rssbridge_data_directory }}/data"
|
|
|
|
- name: RSSBridge Docker Container
|
|
docker_container:
|
|
name: rssbridge
|
|
image: rssbridge/rss-bridge
|
|
pull: true
|
|
volumes:
|
|
- "{{ rssbridge_data_directory }}/data:/config:rw"
|
|
ports:
|
|
- "{{ rssbridge_port }}:80"
|
|
restart_policy: unless-stopped
|
|
memory: "{{ rssbridge_memory }}"
|
|
labels:
|
|
traefik.enable: "{{ rssbridge_available_externally }}"
|
|
traefik.http.routers.rssbridge.rule: "Host(`{{ rssbridge_hostname }}.{{ ansible_nas_domain }}`)"
|
|
traefik.http.routers.rssbridge.tls.certresolver: "letsencrypt"
|
|
traefik.http.routers.rssbridge.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
|
traefik.http.routers.rssbridge.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
|
traefik.http.services.rssbridge.loadbalancer.server.port: "80"
|