Skip to content

Instantly share code, notes, and snippets.

@dragonfire1119
Created August 13, 2023 19:20
Show Gist options
  • Save dragonfire1119/f2ddda3fbd940e8aba7ccefcd0d7da6b to your computer and use it in GitHub Desktop.
Save dragonfire1119/f2ddda3fbd940e8aba7ccefcd0d7da6b to your computer and use it in GitHub Desktop.
Change Detection for Docker Compose
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment