Seafile container not running after reboot under Docker

Before reboot docker-compose ps lists:
seafile /sbin/my_init – /scripts/ … Up>80/tcp
seafile-memcached memcached -m 256 Up 11211/tcp
seafile-mysql mysqld Up 3306/tcp

after reboot it lists:
seafile /sbin/my_init – /scripts/ … Exit 2
seafile-memcached memcached -m 256 Exit 0
seafile-mysql mysqld Exit 137

I have to do docker-compose restart to activate seafile.

I run automatic updates and boot the server afterwards. Seafile must therefore also run inside a Docker container. A normal installation also runs after a reboot.

Please use restart: always in the docker-compose.yml. Works like a charm.