install-changedetection-on-docker/docker-compose.yml hinzugefügt

This commit is contained in:
M_Viper 2024-02-13 06:05:39 +00:00
parent 8c3d226e60
commit 018e3d74aa
1 changed files with 16 additions and 0 deletions

View File

@ -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.