Setup & Configuration

We need to install the service through Portainer and configure any necessary settings.

Preparation

There are some things we need to do in preparation to install this service.

Volumes

Persistent Data

This is where the service will store its own application data and ensures we can quickly update the service image.

Ensure your user has permissions to access the folder.

Docker Socket This provides the service with access to the Docker socket, allowing it to see and control other Docker containers.

Installation

The service can be installed through the Portainer web interface. 

Learn about creating a new stack.

Docker Compose

Use the following code to install the service:

---
services:
  uptime-kuma:
    image: louislam/uptime-kuma:1
    volumes:
      # Persistent Data
      - /srv/uptime-kuma:/app/data

      # Docker Socket
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - 3001:3001
    restart: unless-stopped

Updating

Re-Deploy the Stack

This service has been optimized for running in Docker. 

This allows you to re-deploy the stack through Portainer to download the latest updates.