abs path
This commit is contained in:
parent
6a6d206bc4
commit
866d4a3efe
2
run.sh
2
run.sh
@ -3,4 +3,4 @@ export GITEA__database__HOST=`echo $DATABASE_URL | grep -o "@.*/" | sed 's/.$//'
|
|||||||
export GITEA__database__NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cut -c 2-`
|
export GITEA__database__NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cut -c 2-`
|
||||||
export GITEA__database__USER=`echo $DATABASE_URL | grep -o "//[a-z]*:" | grep -o "[a-z]*"`
|
export GITEA__database__USER=`echo $DATABASE_URL | grep -o "//[a-z]*:" | grep -o "[a-z]*"`
|
||||||
export GITEA__database__PASSWD=`echo $DATABASE_URL | grep -o ":[[:alnum:]]*@" | grep -o "[[:alnum:]]*"`
|
export GITEA__database__PASSWD=`echo $DATABASE_URL | grep -o ":[[:alnum:]]*@" | grep -o "[[:alnum:]]*"`
|
||||||
./docker-entrypoint.sh
|
/usr/local/bin/docker-entrypoint.sh
|
Loading…
Reference in New Issue
Block a user