Jailmaker + Dockge: Timing App Deployment?

Hello.

Jailmaker + Dockge is working well for me. However, on server reboot (and even just docker reboot) some of the services fail to start up automatically. If I go into dockge, I can manually start them. But, it appears that they fail due to something not being immediately available (either mount folders or other services they connect to?).

Is there are way to control the timing of when services attempt to start relative to the others? Or, maybe a way to chain them (ie. x doesn’t start until y is running)?

Have you got “restart: always” in the compose file?

1 Like

I did not. Thank you.

Adding that line did fix homepage.

However, I do have a few other startup-related issues:

  • I have an instance of Nextcloud installed. But, in dockge, it behaves oddly. It will show status as “?” most of the time. It will briefly switch to “active” and then back to “?” again. It seems to function correctly while doing this. But, doesn’t seem healthy [the terminal in dockge is blank]?
  • When I run “jlmkr restart docker” from shell, the output shows as successful. But, I typically have to do this twice before dockge or any of my apps load. This is a little scary because if it someday doesn’t come online after any amount of restarts I’ve lost the whole group of apps and am not sure how I would troubleshoot/recover from there.

Update:

The issue with Nextcloud appears to be related to pi-hole configuration. I followed this guide to make slight adjustments and now Nextcloud is no longer in a boot-loop: How to configure two Pi-holes on the same network · GitHub

I would still like to learn a bit more about why docker restart doesn’t always work. Maybe there is a time-out setting I can adjust to help it?