Add Homarr-App

This commit is contained in:
Hubert Cornet 2024-04-21 17:32:06 +02:00
parent a9e71c5f6b
commit f6bc8b439e
4 changed files with 58 additions and 66 deletions

View File

@ -52,7 +52,7 @@ docker compose -f docker-compose-traefik.yml up -d
Ouvrir une page web avec l'url :
Pour une utilisation tout seul
http://10.0.4.29:3000
http://10.0.4.29:7575
Pour une utilisation avec Traefik

View File

@ -1,66 +1,39 @@
![Fichier-Stockage](./img/logo-Fichier-Stockage.png)
URL : HHHHH
#### NETWORKS
networks:
docker-traefik_front_network:
external: true
back_network:
driver: bridge
attachable: true
# Fichier-Stockage
GGGGG
# Téléchargement, Configuration et Lancement
## Téléchargement de Fichier-Stockage
Saisir la commande pour télécharger la source
```bash
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
```
Saisir la commande pour vous rendre dans le dossier
```bash
cd AAAAA\Fichier-Stockage
```
## Modifier la configuration de Fichier-Stockage
Saisir la commande pour vous rendre dans le dossier
```bash
cd AAAAA\Fichier-Stockage
```
Nous éditons le fichier de configuration
```bash
nano .env
```
Nous modifions les variables dont nous avons besoin.
## Lancement de Fichier-Stockage
Pour utiliser Fichier-Stockage tout seul
```bash
docker compose up -d
```
Pour utiliser Fichier-Stockage avec Traefik
```bash
docker compose -f docker-compose-traefik.yml up -d
```
# Utilisation
## Accueil
Ouvrir une page web avec l'url :
Pour une utilisation tout seul
http://10.0.4.29:3000
Pour une utilisation avec Traefik
https://Fichier-Stockage.10.0.4.29.traefik.me`)"
# 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>
#### SERVICES
services:
### homarr
homarr:
container_name: homarr-app
hostname: homarr-app
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./configs:/app/data/configs
- ./icons:/app/public/icons
- ./data:/data
environment:
- TZ=Europe/Paris
networks:
- docker-traefik_front_network
labels:
- "traefik.enable=true"
- "traefik.docker.network=docker-traefik_front_network"
## HTTP
- "traefik.http.routers.homarr-http.rule=Host(`homarr.10.0.4.29.traefik.me`)"
- "traefik.http.routers.homarr-http.entrypoints=http"
## HTTPS
- "traefik.http.routers.homarr-https.rule=Host(`homarr.10.0.4.29.traefik.me`)"
- "traefik.http.routers.homarr-https.entrypoints=https"
- "traefik.http.routers.homarr-https.tls=true"
- "traefik.http.routers.homarr.service=homarr-service"
## Middleware
## Service
- "traefik.http.services.homarr-service.loadbalancer.server.port=7575"

View File

@ -6,3 +6,20 @@ networks:
#### SERVICES
services:
### homarr
homarr:
container_name: homarr-app
hostname: homarr-app
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./configs:/app/data/configs
- ./icons:/app/public/icons
- ./data:/data
ports:
- '7575:7575'
environment:
- TZ=Europe/Paris
networks:
- back_network

View File

@ -20,4 +20,6 @@ services:
- TZ=Europe/Paris
ports:
- "5000:5000"
networks:
- back_network
restart: unless-stopped