From 7c616a30e0af12e1b15738fe342099c648d591bb Mon Sep 17 00:00:00 2001 From: M_Viper Date: Mon, 12 Feb 2024 21:31:11 +0000 Subject: [PATCH] Dateien nach "install-uptime-kuma-on-docker" hochladen --- install-uptime-kuma-on-docker/docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 install-uptime-kuma-on-docker/docker-compose.yml diff --git a/install-uptime-kuma-on-docker/docker-compose.yml b/install-uptime-kuma-on-docker/docker-compose.yml new file mode 100644 index 0000000..ce2aa08 --- /dev/null +++ b/install-uptime-kuma-on-docker/docker-compose.yml @@ -0,0 +1,14 @@ +version: "3.8" # Specifies the version of Docker Compose file format being used. + +services: + uptime-kuma: + image: louislam/uptime-kuma:1 # Specifies the Docker image to use for the 'uptime-kuma' service. + container_name: uptime-kuma # Sets the name of the Docker container to 'uptime-kuma'. + volumes: + - uptime-kuma:/app/data # Mounts a volume named 'uptime-kuma' to the '/app/data' directory in the container. + ports: + - "3001:3001" # Maps port 3001 on the host to port 3001 on the container. + restart: always # Specifies that the container should always be restarted if it stops unexpectedly. + +volumes: + uptime-kuma: # Defines a named volume named 'uptime-kuma' that can be used to persist data between container restarts.