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>
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
# Matomo Web Analytics
|
|
|
|
services:
|
|
matomo-db:
|
|
image: ${MATOMO_DB_IMAGE:-mariadb:10.4}
|
|
restart: ${MATOMO_RESTART:-unless-stopped}
|
|
|
|
volumes:
|
|
- ${VOL_PATH:-/data}/matomo_dev/db:/var/lib/mysql
|
|
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=${MATOMO_MYSQL_ROOT_PASSWORD:-ChangeThisPassword}
|
|
- MYSQL_DATABASE=matomo
|
|
- MYSQL_USER=matomo
|
|
- MYSQL_PASSWORD=${MATOMO_MYSQL_PASSWORD:-ChangeThisPassword}
|
|
|
|
networks:
|
|
- internal
|
|
|
|
matomo:
|
|
image: ${MATOMO_IMAGE:-matomo:latest}
|
|
restart: ${MATOMO_RESTART:-unless-stopped}
|
|
|
|
volumes:
|
|
- ${VOL_PATH:-/data}/matomo_dev/html:/var/www/html
|
|
- ${VOL_PATH:-/data}/matomo_dev/config:/var/www/html/config
|
|
- ${VOL_PATH:-/data}/matomo_dev/logs:/var/www/html/logs
|
|
|
|
environment:
|
|
- MATOMO_DB_HOST=matomo-db
|
|
- MATOMO_DB_USER=matomo
|
|
- MATOMO_DB_PASSWORD=${MATOMO_DB_PASSWORD:-ChangeThisPassword}
|
|
- MATOMO_DB_NAME=matomo
|
|
|
|
ports:
|
|
- "${MATOMO_PORT:-8080}:80"
|
|
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
|
|
depends_on:
|
|
- matomo-db
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
internal:
|
|
driver: bridge
|