diff --git a/forgejo.sh b/forgejo.sh index ad7f13d..7c55717 100755 --- a/forgejo.sh +++ b/forgejo.sh @@ -28,7 +28,7 @@ function wait_for() { function run() { local image="$1" - docker run --name ${CONTAINER} \ + docker run --restart unless-stopped --name ${CONTAINER} \ -e "RUN_MODE=dev" \ -e "FORGEJO__security__INSTALL_LOCK=true" \ -e "FORGEJO__log__LEVEL=debug" \