This commit is contained in:
2024-04-19 10:27:36 +02:00
parent fcb6bbe566
commit 35c96e715c
7852 changed files with 4815 additions and 8 deletions

View File

@ -0,0 +1,32 @@
![adminer](./img/logo-Adminer.png)
# Adminer
Adminer est un outil de gestion de base de données complet écrit en PHP. Inversement à phpMyAdmin, il consiste en un seul fichier prêt à être déployé sur le serveur cible. Adminer est disponible pour MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch, MongoDB et autres via plugin
# Installation
Pour utiliser Adminer tout seul
```bash
docker compose up -d
```
Pour utiliser Adminer avec Traefik
```bash
docker compose -f docker-compose-traefik.yml up -d
```
Pour utiliser Adminer avec Nginx
```bash
docker compose -f docker-compose-nginx.yml up -d
```
# Utilisation
## Accueil
![adminer-accueil](./img/Adminer-000.png)
# More info
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
# Buy me a coffe
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

View File

@ -0,0 +1,40 @@
# networks
networks:
docker-traefik_front_network:
external: true
# services
services:
### Portainer
portainer:
container_name: portainer-app
hostname: portainer-app
image: portainer/portainer-ce:latest
command: -H unix:///var/run/docker.sock
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
# ports:
# - 9000:9000
# - 9443:9443
networks:
- docker-traefik_front_network
labels:
- "traefik.enable=true"
- "traefik.docker.network=docker-traefik_front_network"
# HTTP
- "traefik.http.routers.portainer-http.rule=Host(`portainer.10.0.4.29.traefik.me`)"
- "traefik.http.routers.portainer-http.entrypoints=http"
# HTTPS
- "traefik.http.routers.portainer-https.rule=Host(`portainer.10.0.4.29.traefik.me`)"
- "traefik.http.routers.portainer-https.entrypoints=https"
- "traefik.http.routers.portainer-https.tls=true"
- "traefik.http.routers.portainer-https.service=portainer-https-service"
# Middleware
# Service
- "traefik.http.services.portainer-https-service.loadbalancer.server.port=9443"
# volumes
volumes:
portainer_data:

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -0,0 +1,38 @@
version: '3.2'
services:
agent:
image: portainer/agent:2.19.4
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
networks:
- agent_network
deploy:
mode: global
placement:
constraints: [node.platform.os == linux]
portainer:
image: portainer/portainer-ce:2.19.4
command: -H tcp://tasks.agent:9001 --tlsskipverify
ports:
- "9443:9443"
- "9000:9000"
- "8000:8000"
volumes:
- type: bind
source: /mnt/Portainer
target: /data
networks:
- agent_network
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.role == manager]
networks:
agent_network:
driver: overlay
attachable: true