diff --git a/🆙-How-to-Update.md b/🆙-How-to-Update.md index 068dec8..4e5989e 100644 --- a/🆙-How-to-Update.md +++ b/🆙-How-to-Update.md @@ -8,11 +8,25 @@ For someone who used my "How-to-use" commands to install Uptime Kuma, you can up docker pull louislam/uptime-kuma:1 docker stop uptime-kuma docker rm uptime-kuma + +# Default docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1 + +# If you are not using default value +# docker run -d --restart=always -p :3001 -v :/app/data --name uptime-kuma louislam/uptime-kuma:1 ``` PS: For every new release, it takes some time to build the docker image, please be patient if it is not available yet. +## Docker-Compose + +```bash +cd "" +docker pull louislam/uptime-kuma:1 +docker stop uptime-kuma +docker-compose up -d --force-recreate +``` + ## 🆙 💪🏻 Non-Docker ```bash