Files
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

51 lines
1.2 KiB
YAML

# YOURLS URL Shortener
services:
yourls:
image: ${YOURLS_IMAGE:-yourls:latest}
restart: ${YOURLS_RESTART:-unless-stopped}
volumes:
- ${VOL_PATH:-/data}/yourls/html:/var/www/html
environment:
- YOURLS_DB_HOST=yourls-db
- YOURLS_DB_USER=${YOURLS_DB_USER:-yourls}
- YOURLS_DB_PASS=${YOURLS_DB_PASSWORD:-ChangeThisPassword}
- YOURLS_DB_NAME=${YOURLS_DB_NAME:-yourls}
- YOURLS_SITE=${YOURLS_SITE:-http://localhost:8080}
- YOURLS_USER=${YOURLS_USER:-admin}
- YOURLS_PASS=${YOURLS_PASS:-ChangeThisPassword}
ports:
- "${YOURLS_PORT:-8080}:80"
networks:
- proxy
- internal
depends_on:
- yourls-db
yourls-db:
image: ${MARIADB_IMAGE:-mariadb:11}
restart: ${YOURLS_RESTART:-unless-stopped}
volumes:
- ${VOL_PATH:-/data}/yourls/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=${YOURLS_MYSQL_ROOT_PASSWORD:-ChangeThisPassword}
- MYSQL_DATABASE=${YOURLS_DB_NAME:-yourls}
- MYSQL_USER=${YOURLS_DB_USER:-yourls}
- MYSQL_PASSWORD=${YOURLS_DB_PASSWORD:-ChangeThisPassword}
networks:
- internal
networks:
proxy:
external: true
internal:
driver: bridge