ITS-Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Uptime Kuma compose yml File

    Scheduled Pinned Locked Moved IT-Stuff
    1 Posts 1 Posters 28 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      admin
      last edited by admin

      Here I want to share my yml File, because there are very few on the Internet.

      version: '3.3'
      
      services:
        uptime-kuma:
          image: louislam/uptime-kuma:1
          container_name: uptime-kuma
          volumes:
            - ./uptime-kuma-data:/app/data
            - /var/run/docker.sock:/var/run/docker.sock
          ports:
            - 3001:3001  # <Host Port>:<Container Port>
          restart: always
          healthcheck:
            test: ["CMD", "curl", "-f", "http://localhost:3001"]
            interval: 5s
            timeout: 3s
            retries: 5
            start_period: 10s
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors