|
|
@ -46,6 +46,11 @@
|
|
|
|
- vars.yml
|
|
|
|
- vars.yml
|
|
|
|
tasks:
|
|
|
|
tasks:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Get docker network
|
|
|
|
|
|
|
|
community.docker.docker_network:
|
|
|
|
|
|
|
|
name: lotus_land_story
|
|
|
|
|
|
|
|
register: docker_network
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run Miniflux
|
|
|
|
- name: Run Miniflux
|
|
|
|
community.docker.docker_container:
|
|
|
|
community.docker.docker_container:
|
|
|
|
# recreate: true
|
|
|
|
# recreate: true
|
|
|
@ -60,7 +65,7 @@
|
|
|
|
ADMIN_PASSWORD: "{{ miniflux.password }}"
|
|
|
|
ADMIN_PASSWORD: "{{ miniflux.password }}"
|
|
|
|
BASE_URL: https://rss.{{ domain }}
|
|
|
|
BASE_URL: https://rss.{{ domain }}
|
|
|
|
METRICS_COLLECTOR: "1"
|
|
|
|
METRICS_COLLECTOR: "1"
|
|
|
|
METRICS_ALLOWED_NETWORKS: "172.25.0.0/16" # TODO Read this from docker?
|
|
|
|
METRICS_ALLOWED_NETWORKS: "{{ docker_network.network.IPAM.Config[0].Subnet }}"
|
|
|
|
restart_policy: unless-stopped
|
|
|
|
restart_policy: unless-stopped
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|
- name: lotus_land_story
|
|
|
|
- name: lotus_land_story
|
|
|
|