mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-21 11:42:19 +08:00
some minor features and fixes for ansible role
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
- /compose/volumes/nginx
|
||||
- /compose/volumes/nginx/log/{{ kuma_domain }}
|
||||
|
||||
- name: Ensure nginx config directory exist
|
||||
- name: Ensure nginx SSL certificates exist
|
||||
copy:
|
||||
src: ssl
|
||||
dest: /compose/volumes/nginx/ssl
|
||||
dest: /compose/volumes/nginx
|
||||
mode: 'preserve'
|
||||
group: root
|
||||
owner: root
|
||||
|
@@ -1,3 +1,4 @@
|
||||
---
|
||||
kuma_image_version: '1'
|
||||
kuma_image_os: 'debian'
|
||||
kuma_tag: "{{kuma_image_version}}-{{kuma_image_os}}"
|
||||
|
@@ -20,4 +20,3 @@
|
||||
state: present
|
||||
project_src: /compose/kuma
|
||||
pull: yes
|
||||
|
||||
|
@@ -9,7 +9,7 @@ services:
|
||||
volumes:
|
||||
- '/compose/volumes/uptime-kuma:/app/data'
|
||||
container_name: uptime-kuma
|
||||
image: 'louislam/uptime-kuma:{{kuma_image_version}}-{{kuma_image_os}}'
|
||||
image: 'louislam/uptime-kuma:{{kuma_tag}}'
|
||||
|
||||
nginx:
|
||||
ports:
|
||||
|
Reference in New Issue
Block a user