Trying to get ente photos to start up upon system boot but cannot figure it out

I am trying my best to get the docker container to start when the server boots up but there are no clear guides on how to do this on the internet, and everything I have tried does not seem to work. How do you do this if you used the quickstart method? Thanks Also this is my first self hosted server so please excuse my lack of expertise
8 Replies
Ducky
Ducky3w ago
I'm sorry, I couldn't find the answer in the documentation. -# If your issue is resolved, feel free to use the /solved command to close this thread. If you'd like to ask me another question use /docsearch
cayomayo
cayomayoOP3w ago
I should also add why I want this, I've set my ubuntu server to restart every day at 4am and I want the docker compose up command to send automatically right when the restart is finished (or equivalent command/config)
Kabii
Kabii3w ago
im on the same boat
Josh
Josh3w ago
you can do this with systemctl services assuming you are using debian/linux they can execute any program Docker has a daemon built in (the daemon is the background service/program that actually runs your containers), have that run on start-up (ie. enable the service)
cayomayo
cayomayoOP3w ago
Thank you so much!!
Ducky
Ducky3w ago
-# If your issue is resolved, you can use the /solved command to close the thread. If not, use /unsolve to cancel.
cayomayo
cayomayoOP3w ago
https://askubuntu.com/questions/1459175/how-to-run-a-docker-compose-as-a-systemd-service this tutorial helped me get system md up to speed for anyone else looking to solve the same issue
Ask Ubuntu
How to run a docker-compose as a systemd service?
I found this question, but that one uses cron - I'd like to use a systemd service instead. My docker-compose.yml is in /home/me, and I run it with sudo docker compose up (and just keep it running i...
Ducky
Ducky3w ago
Thread marked as solved. It will be closed in <t:1761105214:R>. This thread is now closed.

Did you find this page helpful?