This commit is contained in:
4
main.yml
4
main.yml
@ -42,10 +42,6 @@
|
|||||||
import_tasks: tasks/gitea.yml
|
import_tasks: tasks/gitea.yml
|
||||||
tags: gitea_install
|
tags: gitea_install
|
||||||
|
|
||||||
- name: Uptime-kuma
|
|
||||||
import_tasks: tasks/uptimekuma.yml
|
|
||||||
tags: uptimekuma_install
|
|
||||||
|
|
||||||
- name: Gotify
|
- name: Gotify
|
||||||
import_tasks: tasks/gotify.yml
|
import_tasks: tasks/gotify.yml
|
||||||
tags: gotify_install
|
tags: gotify_install
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create directories
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_folder }}/uptime-kuma"
|
|
||||||
- "{{ data_folder }}/uptime-kuma/data"
|
|
||||||
|
|
||||||
- name: Create the uptimekuma container
|
|
||||||
docker_container:
|
|
||||||
name: uptime-kuma
|
|
||||||
image: louislam/uptime-kuma:1.23.16
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: proxy
|
|
||||||
volumes:
|
|
||||||
- /data/uptime-kuma/data:/app/data
|
|
||||||
- /etc/resolv.conf:/etc/resolv.conf:ro
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.uptime.rule: "Host(`uptime.comprofix.com`)"
|
|
||||||
traefik.http.routers.uptime.entrypoints: "https"
|
|
||||||
traefik.http.routers.uptime.tls: "true"
|
|
||||||
traefik.http.services.uptime.loadbalancer.server.port: "3001"
|
|
||||||
traefik.http.services.uptime.loadbalancer.server.scheme: "http"
|
|
Reference in New Issue
Block a user