From 424b1e7fff6cf9ccc8782fe2a96a179e1d988a31 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 10 Jun 2020 17:29:50 +0200 Subject: [PATCH] :whale: Projet is on Docker Hub --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1976a0b..96936a7 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ ce dépôt, il s'agit de l'adresse `https://gitlab.com/animath/si/mkdocs-server- Un exemple : ```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`. @@ -31,18 +31,18 @@ Il est recommandé d'utiliser `docker-compose` : ```yaml mkdocs-server: - build: /chemin/vers/mkdocs-server-from-git - ports: - - 8000:80 - environment: - - MKDOCS_SERVER_GIT_URL=https://gitlab.com/me/mon-super-projet.git + image: ynerant/mkdocs-server-from-git + ports: + - 8000:80 + environment: + - MKDOCS_SERVER_GIT_URL=https://gitlab.com/me/mon-super-projet.git ``` Si vous utilisez Traefik comme reverse-proxy : ```yaml mkdocs-server: - build: /chemin/vers/mkdocs-server-from-git + image: ynerant/mkdocs-server-from-git restart: always environment: - MKDOCS_SERVER_GIT_URL=https://gitlab.com/me/mon-super-projet.git