I have noticed that gitea with a configured MySQL database isn’t very fault tolerant when the database server isn’t available, it fails to start without any error message. While one can talk about the error verbosity, this is generally an acceptable behaviour.
But currently i am migrating my setup to docker. Docker containers have a restart policy, which does not check for dependencies. So my question is, if i deploy gitea via the gitea/gitea
docker image, and try to start it while the configured MariaDB container hasn’t spun up yet, what is giteas behaviour then? I am assuming a gitea container restart loop until gitea manages to establish a MySQL connection, since gitea as the container’s main executable crashes without the connection, so docker is automatically restarting the container. Is my assumption correct, or will gitea inside the container just crash, while the container lives on, and i have to figure out how to orchestrate the containers accordingly to their dependency?