Merge pull request 'restart forgejo when docker restarts' (#5) from earl-warren/setup-forgejo:wip-container into main

Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/5
This commit is contained in:
earl-warren 2023-04-01 14:17:51 +00:00
commit eb11100b06

View file

@ -28,7 +28,7 @@ function wait_for() {
function run() { function run() {
local image="$1" local image="$1"
docker run --name ${CONTAINER} \ docker run --restart unless-stopped --name ${CONTAINER} \
-e "RUN_MODE=dev" \ -e "RUN_MODE=dev" \
-e "FORGEJO__security__INSTALL_LOCK=true" \ -e "FORGEJO__security__INSTALL_LOCK=true" \
-e "FORGEJO__log__LEVEL=debug" \ -e "FORGEJO__log__LEVEL=debug" \