|
|
@@ -164,14 +164,16 @@
|
|
|
#!${pkgs.runtimeShell}
|
|
|
mkdir /tmp
|
|
|
cp -r ${dtdesignRepo}/examples/oml/SystemDesignOntology2Layers /projectdir
|
|
|
+ mkdir -p /projectdir/.fuseki/run
|
|
|
'';
|
|
|
config = {
|
|
|
Env = [ "PROJECTDIR=/projectdir" ]; # tell the script where the projectdir is at.
|
|
|
- Cmd = [ "${serviceMonitor}" ]; # ran when container starts
|
|
|
+ Cmd = [ "${serviceMonitor}/bin/serviceMonitor" ]; # ran when container starts
|
|
|
ExposedPorts = {
|
|
|
"5000/tcp" = {}; # python backend
|
|
|
"3030/tcp" = {}; # fuseki
|
|
|
"8700/tcp" = {}; # lightttp (serving drawio)
|
|
|
+ "8081/tcp" = {}; # WEE
|
|
|
};
|
|
|
Volumes = {
|
|
|
"/projectdir" = {}; # path to persist as Docker 'Volume'
|