restart forgejo when docker restarts

This commit is contained in:
Earl Warren 2023-04-01 16:04:26 +02:00
parent 50da263fad
commit 6bba87e804
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -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" \