forked from Chill-project/manuals
add admin manual to docker-compose
This commit is contained in:
parent
9abe0d7ba0
commit
b5bdfda242
@ -1,5 +1,5 @@
|
|||||||
Manuel utilisateur Vendée
|
Manuels Vendée
|
||||||
=========================
|
==============
|
||||||
|
|
||||||
## Compilation
|
## Compilation
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ Commande:
|
|||||||
docker-compose up
|
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
|
### Utilisateur
|
||||||
|
@ -1,11 +1,21 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
texlive:
|
texlive.user:
|
||||||
image: chill_user_manual_build
|
image: chill_user_manual_build
|
||||||
build:
|
build:
|
||||||
context: docker/latex
|
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
|
# currently hardcoded, sorry
|
||||||
user: "1000"
|
user: "1000"
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user