add admin manual to docker-compose

This commit is contained in:
Julien Fastré 2021-08-26 15:25:24 +02:00
parent 9abe0d7ba0
commit b5bdfda242
2 changed files with 15 additions and 5 deletions

View File

@ -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

View File

@ -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: