From 018e3d74aa11271abbc5629dca1e627f3352c9d6 Mon Sep 17 00:00:00 2001 From: M_Viper Date: Tue, 13 Feb 2024 06:05:39 +0000 Subject: [PATCH] =?UTF-8?q?install-changedetection-on-docker/docker-compos?= =?UTF-8?q?e.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 install-changedetection-on-docker/docker-compose.yml diff --git a/install-changedetection-on-docker/docker-compose.yml b/install-changedetection-on-docker/docker-compose.yml new file mode 100644 index 0000000..cf04da7 --- /dev/null +++ b/install-changedetection-on-docker/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3" # Specifies the version of the Docker Compose file format being used. + +services: + changedetection: # Name of the service/container being defined. + image: lscr.io/linuxserver/changedetection.io:latest # Docker image to use for this service. + container_name: changedetection # Assigns a specific name to the container instance. + environment: + - PUID=1000 # User ID for the process inside the container. + - PGID=1000 # Group ID for the process inside the container. + - TZ=America/Chicago # Timezone setting for the container. + - BASE_URL= # Optional: If provided, it might be used to configure the base URL. + volumes: + - /data/changedetection/config:/config # Mounts a host directory to a directory inside the container. + ports: + - 5000:5000 # Maps port 5000 from the host to port 5000 in the container. + restart: unless-stopped # Defines the restart policy for the container. \ No newline at end of file