Update Home
+5
-22
@@ -32,26 +32,9 @@ Under the Traefik service change the following
|
|||||||
`- /some/local/location/Portainer:/data`
|
`- /some/local/location/Portainer:/data`
|
||||||
|
|
||||||
|
|
||||||
phpmyadmin:
|
Under the PHPMYAdmin service edit the following
|
||||||
image: phpmyadmin/phpmyadmin
|
|
||||||
container_name: Database-WebUI
|
`- traefik.http.routers.phpmyadmin.rule=Host(`phpmyadmin.domain.com`)`
|
||||||
restart: unless-stopped
|
`- /some/local/location/phpmyadmin/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php`
|
||||||
networks:
|
`- /some/local/location/phpmyadmin/theme/:/www/themes/theme/`
|
||||||
- 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`
|
|
||||||
Reference in New Issue
Block a user