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>
49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
# Monica Personal CRM
|
|
|
|
services:
|
|
monica-db:
|
|
image: ${MONICA_DB_IMAGE:-mariadb:11}
|
|
restart: ${MONICA_RESTART:-unless-stopped}
|
|
|
|
volumes:
|
|
- ${VOL_PATH:-/data}/monica_dev/db:/var/lib/mysql
|
|
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=${MONICA_MYSQL_ROOT_PASSWORD:-ChangeThisPassword}
|
|
- MYSQL_DATABASE=monica
|
|
- MYSQL_USER=monica
|
|
- MYSQL_PASSWORD=${MONICA_DB_PASSWORD:-ChangeThisPassword}
|
|
|
|
networks:
|
|
- internal
|
|
|
|
monica:
|
|
image: ${MONICA_IMAGE:-monica:latest}
|
|
restart: ${MONICA_RESTART:-unless-stopped}
|
|
|
|
volumes:
|
|
- ${VOL_PATH:-/data}/monica_dev/storage:/var/www/html/storage
|
|
|
|
environment:
|
|
- DB_HOST=monica-db
|
|
- DB_USERNAME=monica
|
|
- DB_PASSWORD=${MONICA_DB_PASSWORD:-ChangeThisPassword}
|
|
- DB_DATABASE=monica
|
|
- APP_ENV=${MONICA_APP_ENV:-production}
|
|
|
|
ports:
|
|
- "${MONICA_PORT:-8081}:80"
|
|
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
|
|
depends_on:
|
|
- monica-db
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
internal:
|
|
driver: bridge
|