mirror of
https://github.com/alvierahman90/mandrake.git
synced 2025-10-25 22:50:53 +00:00
17137be4a1b378026bb83e1e21ef12644c06afe0
🍃 mandrake
(Proof of concept) run commands in remote docker container to offload compute intensive commands
Usage
-
Create
config-server.toml. Seeconfig-servre.tomlfor an example. -
Start
mandrake-server.py -
Create
Mandrake.tomlfile in root directory of project. SeeMandrake.tomlfor an example. -
Create a
Dockerfilein the root directory of project to specify the environment to execute the command. SeeDockerfile-examplefor an example.Remember to the working directory to
/context. -
Run
mandrake-server.py <command> [arg1 [arg2 [...]]]in the project directory, where<command>and[argN]the command and its arguments to run in the docker container.
Description
Languages
Python
100%