Merge pull request #2 from linuxserver/readme-compose

This commit is contained in:
Adam 2022-08-12 17:58:09 +01:00 committed by GitHub
commit d6cc4d3622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 2 deletions

View File

@ -74,9 +74,9 @@ Here are some example snippets to help you get started creating a container.
---
version: "2.1"
services:
changedetection.io:
changedetection:
image: lscr.io/linuxserver/changedetection.io:latest
container_name: changedetection.io
container_name: changedetection
environment:
- PUID=1000
- PGID=1000
@ -87,6 +87,7 @@ services:
ports:
- 5000:5000
restart: unless-stopped
```
### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))

View File

@ -35,6 +35,23 @@ opt_param_usage_include_env: true
opt_param_env_vars:
- { env_var: "BASE_URL", env_value: "", desc: "Specify the full URL (including protocol) when running behind a reverse proxy" }
custom_compose: |
---
version: "2.1"
services:
changedetection:
image: lscr.io/linuxserver/changedetection.io:latest
container_name: changedetection
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- BASE_URL= #optional
volumes:
- /path/to/appdata/config:/config
ports:
- 5000:5000
restart: unless-stopped
# application setup block
app_setup_block_enabled: true
app_setup_block: |