mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
- VOL_PATH always defaults to /data; vscode/opencode VOL_PROJECTS nests it - TZ defaults to America/Vancouver (was UTC in etherpad, ntfy, redis) - compose section order fixed (volumes before environment, command after networks) - all default secrets are the literal ChangeThisPassword (grep-friendly, users must change them); removed a real key from ollama sample.env - sample.env synced with compose: missing vars added with defaults, dead vars removed - invoiceninja_dev/openarchiver_dev: app services had no environment block, wired all sample.env vars through so the stacks actually work - opencode: sample.env OLLAMA_HOST renamed to OLLAMA_HOST_URL to match compose - TZ values unquoted consistently Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
services:
|
|
ntfy:
|
|
image: ${NTFY_IMAGE:-binwiederhier/ntfy:latest}
|
|
restart: ${NTFY_RESTART:-unless-stopped}
|
|
volumes:
|
|
- ${VOL_PATH:-/data}/ntfy:/etc/ntfy
|
|
- ${VOL_PATH:-/data}/ntfy-var:/var/lib/ntfy
|
|
- ${VOL_PATH:-/data}/ntfy-cache:/var/cache/ntfy
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
- TZ=${TZ:-America/Vancouver}
|
|
- NTFY_BASE_URL=${NTFY_BASE_URL:-http://localhost}
|
|
- NTFY_CACHE_FILE=${NTFY_CACHE_FILE:-/var/lib/ntfy/cache.db}
|
|
- NTFY_AUTH_FILE=${NTFY_AUTH_FILE:-/var/lib/ntfy/auth.db}
|
|
- NTFY_AUTH_DEFAULT_ACCESS=${NTFY_AUTH_DEFAULT_ACCESS:-deny-all}
|
|
- NTFY_BEHIND_PROXY=${NTFY_BEHIND_PROXY:-true}
|
|
- NTFY_ATTACHMENT_CACHE_DIR=${NTFY_ATTACHMENT_CACHE_DIR:-/var/lib/ntfy/attachments}
|
|
- NTFY_ENABLE_LOGIN=${NTFY_ENABLE_LOGIN:-true}
|
|
ports:
|
|
- "${NTFY_PORT:-80}:80"
|
|
- "${NTFY_HTTP_PORT:-8080}:8080"
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
command:
|
|
- serve
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
internal:
|
|
internal: true
|