In this post from over a year ago, I reported that the Seafile docker containers don’t restart after reboot:
So as I really need to get my home set-up moved off CentOS v7, I’ve revisited the instructions and followed them to the letter:
Setup pro edition - Seafile Admin Manual
However, the same issue - the docker contains aren’t restarting on reboot due to restart: unless-stopped missing from the composer files.
I notice that since I last looked at Seafile docker, that the composition structure has changed from the single composer.yml file into three: caddy.yml, seadoc.yml and seafile-server.yml.
Interestingly, the single service in caddy.yml does have the above line so restarts as expected. If the caddy container supposed to start the other services? If so, then it’s not working. So you have to add the restart line to the other two composer files. NOTE: there are multiple serviecs in seafile-server.yml - you have to add restart to each section. Then re-run docker compose up -d.
I’ve scoured the documentation for any mention of this so surely, I must be missing something??