16 lines
945 B
YAML
16 lines
945 B
YAML
|
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.
|