Open ghost opened 3 years ago
Hi @bunkerity ,
Hope you are all well !
I tried in a docker-compose with traefik as reverse proxy to setup "bunkerized-phpmyadmin" but I have an error while starting the container.
Here is an excerpt of my docker-compose:
phpmyadmin: image: lucmichalski/bunkerized-phpmyadmin:latest container_name: phpmyadmin build: context: .docker/bunkerized-phpmyadmin dockerfile: Dockerfile args: - PMA_VERSION=5.0.4 expose: - 80 - 443 hostname: phpmyadmin labels: - "org.label-schema.group=admin" - "traefik.enable=true" - "traefik.docker.network=web" - "traefik.http.routers.phpmyadmin.rule=Host(`xxxx-xxxx.xxx-network.com`) && PathPrefix(`/devops/pma`)" - 'traefik.http.routers.phpmyadmin.tls=true' - 'traefik.http.routers.phpmyadmin.tls.certresolver=letsencrypt' - "traefik.http.routers.phpmyadmin.service=phpmyadmin@docker" - "traefik.http.routers.phpmyadmin.entrypoints=https" - "traefik.http.services.phpmyadmin.loadbalancer.server.port=80" - "traefik.http.middlewares.phpmyadmin.compress=true" environment: - AUTO_LETS_ENCRYPT=no - REDIRECT_HTTP_TO_HTTPS=no - SERVER_NAME=xxxx-xxxx.xxx-network.com - PMA_ABSOLUTE_URI=/devops/pma - SERVERS_1_host=mariadb - SERVERS_1_port=3306 - SERVERS_1_AllowRoot=false - SERVERS_1_user=${MYSQL_USER} - SERVERS_1_password=${MYSQL_PASSWORD} networks: - internal - web depends_on: - mariadb volumes: - pma-logs:/var/log
What can I do to fix it ? Thanks for any insights or inputs on that issue mate :-)
Cheers, Luc Michalski
And if I comment the following lines:
#volumes: # - pma-logs:/var/log
I still have a problem for access pma from the port 80.
Hi @bunkerity ,
Hope you are all well !
I tried in a docker-compose with traefik as reverse proxy to setup "bunkerized-phpmyadmin" but I have an error while starting the container.
Here is an excerpt of my docker-compose:
What can I do to fix it ? Thanks for any insights or inputs on that issue mate :-)
Cheers, Luc Michalski