Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • SSHD server for running the scripts remotely. (Access meant only internally for Portrait Docker services)

  • Pyenv

  • Pipenv

  • Venv

  • common packages: vim, nano, git, curl, bash

  • some build dependencies are needed for pyenv, pipenv, venv (details skipped due to incompleteness)

The container is connected to the same network as the other portrait services. So you are able to access the Portrait API as well as other APIs or web services.

...

onSubmit with Python supports the following settings:

onSubmit.type

Must be Python

onSubmit.scriptName

name of the python file.

onSubmit.setupScriptName

name of a bash setup script that is called on each submit before the Python script. Can be used to install dependencies via pip .

Info

There is a runtime limit of 15 seconds for the combination of setup script and python script.
This can be changed by overwriting the config property microservices.pythonRuntime.timeoutMs in the YML

...