mirror of
https://github.com/PAPAMICA/docker-compose-collection.git
synced 2026-03-18 21:30:41 +01:00
add adminer
This commit is contained in:
33
adminer.yml
33
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: <a href='https://www.adminer.org/' target='_blank' rel='noopener'>Adminer.org</a>
|
||||
#& 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
|
||||
name: $NETWORK
|
||||
Reference in New Issue
Block a user