Docker Swarm Deployment #1321
Replies: 3 comments
-
So following is happening here: depends_on is being ignored and the netbox-worker fails, because it gets started before the netbox. After that it wont start. So far I got everything running in a Swarm besides the netbox-worker. You also have to set up volumes and copy the config to a share. I personally used NFS shares for this. If somebody stumbles around this, feel free to ask for details. |
Beta Was this translation helpful? Give feedback.
-
I did so:
I modified the docker-compose.yml to:
|
Beta Was this translation helpful? Give feedback.
-
I had to rewrite the whole docker compose. I basically created my own, which runs in the docker swarm now. So far the only thing that isnt working is the worker. I haven't checked out, what happens, when I would start it. Sadly it just dosnt seem to run or I didnt copy the correct scripts into the right folders on the Storage. |
Beta Was this translation helpful? Give feedback.
-
Hello community,
I am currently planning to deploy netbox to a docker swarm cluster. The cluster itself has three masters and five workers.
Is there a possibility to create a docker compose or do I have to push the built image to a local registry and overwrite the environment variables in a diffrent compose?
I hope this is not a silly question and maybe somebody has an idea or a clue for me to figure this issue out.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions