Standardize formatting across multiple docker-compose.yml files: convert single quotes to double quotes for ports/args, fix inconsistent newlines at EOF, remove trailing spaces and stray blank lines, and tidy comments. Reformat ListSync healthcheck into a YAML sequence for clarity. Remove the obsolete Immich/docker-compose.yml.old file. These are non-functional cleanup changes to improve consistency and readability.
27 lines
926 B
YAML
27 lines
926 B
YAML
name: diun
|
|
|
|
services:
|
|
diun:
|
|
image: crazymax/diun:latest
|
|
container_name: diun
|
|
hostname: MohandL3G
|
|
command: serve
|
|
volumes:
|
|
- C:\Docker\AppData\diun\data:/data
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
environment:
|
|
- "TZ=Africa/Tripoli"
|
|
- "DIUN_WATCH_WORKERS=20"
|
|
- "DIUN_WATCH_SCHEDULE=0 */6 * * *"
|
|
- "DIUN_WATCH_JITTER=30s"
|
|
- "DIUN_PROVIDERS_DOCKER=true"
|
|
- "DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true"
|
|
- "DIUN_NOTIF_DISCORD_WEBHOOKURL=https://discordapp.com/api/webhooks/1387006555471220877/FEsUF1peouAW9khRN0mVQkDmsbEhXdj_gFTV5BgvSUqr0TGbfea3oxw7ErZf_AATQt5R" # change to your webhook
|
|
# - "DIUN_NOTIF_DISCORD_MENTIONS" # (comma separated)
|
|
- "DIUN_NOTIF_DISCORD_RENDERFIELDS=true"
|
|
- "DIUN_NOTIF_DISCORD_TIMEOUT=10s"
|
|
# - "DIUN_NOTIF_DISCORD_TEMPLATEBODY"
|
|
labels:
|
|
- "diun.enable=true"
|
|
restart: unless-stopped
|