From b5bdfda242c43c355f25b0007bc23a9291911f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 26 Aug 2021 15:25:24 +0200 Subject: [PATCH] add admin manual to docker-compose --- README.md | 6 +++--- docker-compose.yaml | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 94fca09..cba5305 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -Manuel utilisateur Vendée -========================= +Manuels Vendée +============== ## Compilation @@ -11,7 +11,7 @@ Commande: docker-compose up ``` -Le fichier généré est `user-manual.pdf` +Le fichier généré est `user-manual.pdf` et `admin-manual.pdf` ### Utilisateur diff --git a/docker-compose.yaml b/docker-compose.yaml index f682848..aff2995 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,11 +1,21 @@ version: "3" services: - texlive: + texlive.user: image: chill_user_manual_build build: context: docker/latex - command: ./build-pandoc.sh + command: ./build-pandoc.sh pdf user + # currently hardcoded, sorry + user: "1000" + volumes: + - .:/workdir + working_dir: /workdir + texlive.admin: + image: chill_user_manual_build + build: + context: docker/latex + command: ./build-pandoc.sh pdf admin # currently hardcoded, sorry user: "1000" volumes: