Correction
This commit is contained in:
@ -1,66 +1,45 @@
|
||||

|
||||
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:
|
||||
### pingvin
|
||||
### pingvin-share
|
||||
pingvin-share:
|
||||
container_name: pingvin-app
|
||||
hostname: pingvin-app
|
||||
image: stonith404/pingvin-share
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- docker-traefik_front_network
|
||||
volumes:
|
||||
- "./data:/opt/app/backend/data"
|
||||
- "./images:/opt/app/frontend/public/img"
|
||||
# Facultatif : Si vous ajoutez ClamAV, décommentez ce qui suit pour que ClamAV démarre en premier.
|
||||
# depends_on:
|
||||
# clamav:
|
||||
# condition: service_healthy
|
||||
# Optional: Add ClamAV (see README.md)
|
||||
# ClamAV is currently only available for AMD64 see https://github.com/Cisco-Talos/clamav/issues/482
|
||||
# clamav:
|
||||
# restart: unless-stopped
|
||||
# image: clamav/clamav
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=docker-traefik_front_network"
|
||||
## HTTP
|
||||
- "traefik.http.routers.pingvin-http.rule=Host(`pingvin.10.0.4.29.traefik.me`)"
|
||||
- "traefik.http.routers.pingvin-http.entrypoints=http"
|
||||
## HTTPS
|
||||
- "traefik.http.routers.pingvin-https.rule=Host(`pingvin.10.0.4.29.traefik.me`)"
|
||||
- "traefik.http.routers.pingvin-https.entrypoints=https"
|
||||
- "traefik.http.routers.pingvin-https.tls=true"
|
||||
- "traefik.http.routers.pingvin.service=pingvin-service"
|
||||
## Middleware
|
||||
## Service
|
||||
- "traefik.http.services.pingvin-service.loadbalancer.server.port=3000"
|
@ -1,13 +1,22 @@
|
||||
version: '3.8'
|
||||
#### NETWORKS
|
||||
networks:
|
||||
back_network:
|
||||
driver: bridge
|
||||
attachable: true
|
||||
|
||||
#### SERVICES
|
||||
services:
|
||||
### pingvin-share
|
||||
pingvin-share:
|
||||
container_name: pingvin-app
|
||||
hostname: pingvin-app
|
||||
image: stonith404/pingvin-share
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- "/srv/appdata/pingvinshare/data:/opt/app/backend/data"
|
||||
- "/srv/appdata/pingvinshare/data/images:/opt/app/frontend/public/img"
|
||||
- "./data:/opt/app/backend/data"
|
||||
- "./images:/opt/app/frontend/public/img"
|
||||
# Facultatif : Si vous ajoutez ClamAV, décommentez ce qui suit pour que ClamAV démarre en premier.
|
||||
# depends_on:
|
||||
# clamav:
|
||||
|
Reference in New Issue
Block a user