PHPMyAdmin-w-Traefik-Labels.yml

This commit is contained in:
2026-06-11 08:06:51 -04:00
parent 5aa1ba51b2
commit 80b2281d6e
+29
View File
@@ -0,0 +1,29 @@
volumes:
phpmyadmin:
driver: local
services:
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: Database-WebUI
restart: unless-stopped
networks:
- web
environment:
- PMA_ARBITRARY=1
labels:
- traefik.backend=phpmyadmin
- traefik.http.routers.phpmyadmin.tls.certresolver=myresolver
- traefik.http.routers.phpmyadmin.rule=Host(`phpmyadmin.domain.com`)
- traefik.docker.network=web
- traefik.port=80
- traefik.port=443
volumes:
- phpmyadmin:/sessions
- /some/local/location/phpmyadmin/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php
- /some/local/location/phpmyadmin/theme/:/www/themes/theme/
networks:
web:
external: true