|
@ -0,0 +1,18 @@ |
|
|
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
|
|
|
|
config-add "\ |
|
|
|
|
|
services: |
|
|
|
|
|
$MASTER_BASE_SERVICE_NAME: |
|
|
|
|
|
command: |
|
|
|
|
|
- \"start-py3o-renderserver\" |
|
|
|
|
|
- \"--java=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so\" |
|
|
|
|
|
- \"--ure=/usr/share\" |
|
|
|
|
|
- \"--office=/usr/lib/libreoffice\" |
|
|
|
|
|
- \"--driver=juno\" |
|
|
|
|
|
- \"--sofficeport=8997\" |
|
|
|
|
|
- \"--sofficehost=$MASTER_TARGET_SERVICE_NAME\" |
|
|
|
|
|
volumes: |
|
|
|
|
|
- $HOST_DATASTORE/$MASTER_TARGET_SERVICE_NAME/tmp:/tmp |
|
|
|
|
|
" |