Skip to main content

PhpMyAdmin

version: '3'

services:

  phpmyadmin:
    image: phpmyadmin:latest
    container_name: phpmyadmin
    restart: always
    ports:
      - 8080:80

Avec Traefik :

version: '3'

services:

  phpmyadmin:
    image: phpmyadmin:latest
    container_name: phpmyadmin
    restart: always
    networks:
        - traefik
    labels:
        - "traefik.enable=true"
        - "traefik.http.routers.phpmyadmin.rule=Host(`ndd.fr`)"
        - "traefik.http.routers.phpmyadmin.entrypoints=web"

networks:
  traefik:
    external: true