How to Wait Until Another Container is Finished Starting?
How to Wait Until Another Container is Finished Starting?
I have 4 containers setup for Immich:
immich immich-database immich-machine-learning immich-redis
However my Immich container fails to start on boot. And I read in the error log that has to do with the immich-database not finishing starting.
[Unit] Description=Immich Server Requires=immich-redis.container immich-database.container Wants=immich-machine-learning.container [Container] ContainerName=immich AutoUpdate=registry Network=immich.network Network=caddy Image=ghcr.io/immich-app/immich-server:release Pull=newer Volume=/mnt/raid/homecloud/immichmedia:/data:z Volume=/etc/localtime:/etc/localtime:ro PublishPort=2283:2283 AddDevice=/dev/dri EnvironmentFile=%h/.immich-env [Service] TimeoutStartSec=1000 [Install] WantedBy=default.target
Comments