Files
docker-compose-cookbooks/etherpad_dev/compose.yaml
T
codeandClaude Fable 5 8ab413804a normalize all stacks to conventions
- 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>
2026-07-16 06:24:54 +00:00

29 lines
932 B
YAML

services:
etherpad:
image: ${ETHERPAD_IMAGE:-node:18-slim}
restart: ${ETHERPAD_RESTART:-unless-stopped}
volumes:
- ${VOL_PATH:-/data}/etherpad:/home/etherpad
- /etc/localtime:/etc/localtime:ro
environment:
- TZ=${TZ:-America/Vancouver}
- ETHERPAD_DEFAULT_TITLE=${ETHERPAD_DEFAULT_TITLE:-Etherpad}
- ETHERPAD_DEFAULT_TEXT=${ETHERPAD_DEFAULT_TEXT:-Welcome to Etherpad!}
- ETHERPAD_ADMIN_PASSWORD=${ETHERPAD_ADMIN_PASSWORD:-ChangeThisPassword}
ports:
- "${ETHERPAD_PORT:-9001}:9001"
networks:
- proxy
- internal
command:
- docker-entrypoint.sh
- /bin/bash
- -c
- "npm install -g git+https://github.com/etherpad/etherpad-lite.git && cp -r /usr/local/lib/node_modules/etherpad-lite/* /home/etherpad/ && chmod -R 775 /home/etherpad/ && ls -la /home/etherpad/"
networks:
proxy:
external: true
internal:
internal: true