diff --git a/uptimekuma/docker-compose.yaml b/uptimekuma/docker-compose.yaml index 04a13e1..d0187e0 100644 --- a/uptimekuma/docker-compose.yaml +++ b/uptimekuma/docker-compose.yaml @@ -2,15 +2,15 @@ version: "3.8" services: uptime-kuma: - image: louislam/uptime-kuma:latest + image: louislam/uptime-kuma:2 container_name: uptime-kuma restart: always ports: - "3001:3001" # This maps the container port "3001" to the host port "3001" volumes: - - /data/docker/uptimekuma/data:/app/data # Configuring persistent storage + - /docker/uptimekuma/data:/app/data # Configuring persistent storage 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 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3001"]