Opereto official worker container. Opereto agent is installed on the container and connect opereto center upon execution. Opereto worker libraries are packed as a python virtual environment located under the agent installation directory and are required in order to run most of Opereto open-source service packages.
To run opereto worker as a container:
opereto_host=https://OPERETO_URL
opereto_user=OPERETO_USERNAME
opereto_password=OPERETO_PASSWORD
agent_name=my_test_agent
javaParams="-Xms1000m -Xmx1000m"
log_level=info
docker run -d --restart=always --env-file opereto_env/opereto.env opereto/worker
You may also extend opereto Dockerfile to create your own custom workers while still including the Opereto worker python virtualenv to remain compatible with opereto official packages
FROM opereto/worker
your docker file directives..
(please make sure not to override opereto agent run command. Avoid specifying CMD or ENTRYPOINT in your custom docker worker)
...
...
docker pull opereto/worker:v3.0.110