🐳 Projet is on Docker Hub

This commit is contained in:
Yohann D'ANELLO 2020-06-10 17:29:50 +02:00
parent 784280aaab
commit 424b1e7fff
1 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@ ce dépôt, il s'agit de l'adresse `https://gitlab.com/animath/si/mkdocs-server-
Un exemple : Un exemple :
```bash ```bash
docker build -t mkdocs-server . && docker run -it mkdocs-server -e MKDOCS_SERVER_GIT_URL=https://gitlab.com/me/mon-super-projet-mkdocs.git -p 8000:80 docker run ynerant/mkdocs-server-from-git -e MKDOCS_SERVER_GIT_URL=https://gitlab.com/me/mon-super-projet-mkdocs.git -p 8000:80
``` ```
Le résultat s'observe sur `http://localhost:8000`. Le résultat s'observe sur `http://localhost:8000`.
@ -31,18 +31,18 @@ Il est recommandé d'utiliser `docker-compose` :
```yaml ```yaml
mkdocs-server: mkdocs-server:
build: /chemin/vers/mkdocs-server-from-git image: ynerant/mkdocs-server-from-git
ports: ports:
- 8000:80 - 8000:80
environment: environment:
- MKDOCS_SERVER_GIT_URL=https://gitlab.com/me/mon-super-projet.git - MKDOCS_SERVER_GIT_URL=https://gitlab.com/me/mon-super-projet.git
``` ```
Si vous utilisez Traefik comme reverse-proxy : Si vous utilisez Traefik comme reverse-proxy :
```yaml ```yaml
mkdocs-server: mkdocs-server:
build: /chemin/vers/mkdocs-server-from-git image: ynerant/mkdocs-server-from-git
restart: always restart: always
environment: environment:
- MKDOCS_SERVER_GIT_URL=https://gitlab.com/me/mon-super-projet.git - MKDOCS_SERVER_GIT_URL=https://gitlab.com/me/mon-super-projet.git