From cb74d15fff8d3a540505a387ac9cf72f32fa17fa Mon Sep 17 00:00:00 2001 From: PAPAMICA Date: Tue, 10 May 2022 15:54:59 +0200 Subject: [PATCH] add adminer --- adminer.yml | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/adminer.yml b/adminer.yml index e7bb610..91c9c64 100644 --- a/adminer.yml +++ b/adminer.yml @@ -1,30 +1,37 @@ -# Docker-compose mis à disposition par Mickael "PAPAMICA" Asseline -# Date de mise à jour : 28/04/2022 +# Docker-compose provided by Mickael "PAPAMICA" Asseline +# Update : 10/05/2022 -# Variables d'environnement à déclarer : -# - SERVICE : nom du service (exemple : plex) -# - ROOT_PASSWORD : Mot de passe Root -# - URL : lien du nom de domaine (exemple : phpadmin.papamica.fr) +#& type: 3 +#& title: Adminer +#& description: Managment of MySQL +#& note: Website: Adminer.org +#& categories: SelfHosted, Database, PAPAMICA +#& platform: linux +#& logo: https://git.spip.net/repo-avatars/1417-1f8a32370f4028c9c0c216787ad4916c -# Fonctionne avec Portainer +#% SERVICE: Name of the service (No spaces or points) +#% URL: Service link (Example: service.papamica.fr or service.com) +#% NETWORK: Your Traefik network (Example: proxy) + +# Work with Portainer version: "2" services: - teamspeak: + adminer: image: adminer restart: always container_name: $SERVICE environment: - ADMINER_DESIGN='hydra' networks: - - proxy + - 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=80" - - "traefik.docker.network=proxy" - + - "traefik.docker.network=$NETWORK" networks: - proxy: + default: external: - name: proxy \ No newline at end of file + name: $NETWORK \ No newline at end of file