theycallmemac / odin

A programmable, observable and distributed job orchestration system.
MIT License
471 stars 20 forks source link

add docker file #63

Closed ylmcc closed 3 years ago

ylmcc commented 3 years ago

49 This will build the docker image, some things to note:

This only builds the cli and engine as the UI is being revamped. Once that is done I will look at adding the UI to the image.

You will need to modify /root/odin-config.yml > mongo > address using the command sed -i 's/localhost:27017/YOUR_MONGO_IP_HERE:MONGO_PORT_HERE/' odin-config.yml

As the yml file is currently like this: odin: master: "localhost port: "3939" mongo: address: "mongodb://localhost:27017"

Once you have edited it, you can restart the container and the change should be persistent.