mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-18 09:26:56 +08:00
I forgot to commit this part :)
This commit is contained in:
@@ -2,6 +2,8 @@ version: '3.3'
|
|||||||
services:
|
services:
|
||||||
uptime-kuma:
|
uptime-kuma:
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- uptime-kuma
|
||||||
expose:
|
expose:
|
||||||
- 3001
|
- 3001
|
||||||
volumes:
|
volumes:
|
||||||
@@ -10,6 +12,11 @@ services:
|
|||||||
image: 'louislam/uptime-kuma:{{kuma_image_version}}-{{kuma_image_os}}'
|
image: 'louislam/uptime-kuma:{{kuma_image_version}}-{{kuma_image_os}}'
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
|
ports:
|
||||||
|
- 443:443
|
||||||
|
- 80:80
|
||||||
|
networks:
|
||||||
|
- uptime-kuma
|
||||||
depends_on:
|
depends_on:
|
||||||
- uptime-kuma
|
- uptime-kuma
|
||||||
restart: always
|
restart: always
|
||||||
@@ -17,3 +24,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- '/compose/volumes/nginx/:/etc/nginx/'
|
- '/compose/volumes/nginx/:/etc/nginx/'
|
||||||
- '/compose/volumes/nginx/log/{{ kuma_domain }}:/var/log/nginx/{{ kuma_domain }}/'
|
- '/compose/volumes/nginx/log/{{ kuma_domain }}:/var/log/nginx/{{ kuma_domain }}/'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
uptime-kuma:
|
||||||
|
Reference in New Issue
Block a user