Update README.md
This commit is contained in:
parent
4c5ec66f07
commit
6c61c06b12
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
|
@ -11,6 +11,7 @@ Demo-docker est une mini application web très légère pour tester docker avec
|
|||
> - Un sytème à jour
|
||||
> - Docker installé (inclus extension `docker compose`)
|
||||
|
||||
### Méthode 1 (garder le shell ouvert)
|
||||
Executer les commandes suivantes :
|
||||
```bash
|
||||
git clone https://git.selfitdeploy.com/Willy/demo-docker.git ; \
|
||||
|
|
@ -18,3 +19,15 @@ cd demo-docker/ ; \
|
|||
sudo docker compose up --build
|
||||
```
|
||||
Tester le site sur `http://ip.de.votre.machine:5000`
|
||||
|
||||
Arrêter le conteneur avec `ctrl + c`
|
||||
|
||||
|
||||
### Méthode 2 (exécution en arrière plan)
|
||||
Executer les commandes suivantes :
|
||||
```bash
|
||||
git clone https://git.selfitdeploy.com/Willy/demo-docker.git ; \
|
||||
cd demo-docker/ ; \
|
||||
sudo docker compose up -d --build
|
||||
```
|
||||
Tester le site sur `http://ip.de.votre.machine:5000`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue