mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 21:30:55 -05:00
restart forgejo when docker restarts
This commit is contained in:
parent
50da263fad
commit
6bba87e804
1 changed files with 1 additions and 1 deletions
|
@ -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" \
|
||||||
|
|
Loading…
Reference in a new issue