fix: change uptimekuma volume
This commit is contained in:
@@ -2,15 +2,15 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
uptime-kuma:
|
uptime-kuma:
|
||||||
image: louislam/uptime-kuma:latest
|
image: louislam/uptime-kuma:2
|
||||||
container_name: uptime-kuma
|
container_name: uptime-kuma
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "3001:3001" # This maps the container port "3001" to the host port "3001"
|
- "3001:3001" # This maps the container port "3001" to the host port "3001"
|
||||||
volumes:
|
volumes:
|
||||||
- /data/docker/uptimekuma/data:/app/data # Configuring persistent storage
|
- /docker/uptimekuma/data:/app/data # Configuring persistent storage
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Ho_Chi_Minh # Set the timezone (change to your preferred local timezone so monitoring times are the same)
|
- TZ=Asia/Ho_Chi_Minh # Set the timezone
|
||||||
- UMASK=0022 # Set your file permissions manually
|
- UMASK=0022 # Set your file permissions manually
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3001"]
|
test: ["CMD", "curl", "-f", "http://localhost:3001"]
|
||||||
|
|||||||
Reference in New Issue
Block a user