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>
phpMyAdmin
Overview
phpMyAdmin is a web-based MySQL/MariaDB database administration tool. This stack runs phpMyAdmin with arbitrary server connection support.
Project Details
- Project Repository: https://github.com/phpmyadmin/phpmyadmin
- Container Image: Docker Hub
- Documentation: https://www.phpmyadmin.net/docs/
- Reverse Proxy Port:
80
Getting Started
- Start the container:
docker compose up -d - Open http://localhost:${PHPMYADMIN_PORT:-8083} in your browser
- Log in with your database credentials
Environment Variable Notes
PHPMYADMIN_PMA_ARBITRARY – allow connecting to any database server (default: 1)
PHPMYADMIN_PMA_HOST – default database host (default: mariadb)
PHPMYADMIN_PMA_USER – default database user (default: root)
PHPMYADMIN_PMA_PASSWORD – default database password (default: changeme)
PHPMYADMIN_UPLOAD_LIMIT – maximum upload size (default: 200M)
Volume Notes
No persistent volumes required.
Network Notes
Requires the external proxy network (Nginx Proxy Manager). An internal bridge network internal is available for connecting to database containers.
Docker Run
docker run -d \
--name phpmyadmin \
-e PMA_ARBITRARY=1 \
-e PMA_HOST=mariadb \
-e PMA_USER=root \
-e PMA_PASSWORD=changeme \
-e UPLOAD_LIMIT=200M \
-p 8083:80 \
--network proxy \
phpmyadmin/phpmyadmin:latest
Additional Notes / Gotchas
- Not for production use — there is no built-in authentication layer beyond the database credentials.
- Set
PMA_ARBITRARY=1to connect to any database server by hostname at login time.
Dockhand Stack, Deploy from Git
Cookbooks Repository stackname: PHPMYADMIN_DEV Compose file path: phpmyadmin_dev/compose.yaml Additional env file (optional): phpmyadmin_dev/sample.env
Then "Load" phpmyadmin_dev/sample.env into the Environmental variables in dockhand
Create the Stack