mirror of
https://github.com/alvierahman90/mandrake.git
synced 2025-11-03 07:10:24 +00:00
main
🍃 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.
TODO
- Remove rsync dependency
- Rebuild in a less rubbish way maybe in rust also
Description
Languages
Python
100%