# Maintainer: Mickael "PAPAMICA" Asseline # Update: 2022-05-10 #& type: 3 #& title: Adminer #& description: Management of MySQL #& note: Website: Adminer.org #& categories: SelfHosted, Database, PAPAMICA #& platform: linux #& logo: https://img.papamica.com/logo/adminer.png #% SERVICE: Name of the service (No spaces or points) [adminer] #% URL: Service URL (Example: service.papamica.fr or service.com) #% NETWORK: Your Traefik network (Example: proxy) [proxy] # Work with Portainer version: "2" services: adminer: image: adminer restart: always container_name: $SERVICE environment: - ADMINER_DESIGN='hydra' healthcheck: test: curl --fail http://localhost:8080 || exit 1 interval: 1m timeout: 30s retries: 3 networks: - default labels: - "autoupdate=monitor" # https://github.com/PAPAMICA/container-updater - "traefik.enable=true" - "traefik.http.routers.$SERVICE.rule=Host(`$URL`)" - "traefik.http.routers.$SERVICE.tls.certresolver=http" - "traefik.http.services.$SERVICE.loadbalancer.server.port=8080" - "traefik.docker.network=$NETWORK" networks: default: external: name: $NETWORK