test
This commit is contained in:
parent
9c56cc6f29
commit
d62381aeca
@ -1,4 +1,4 @@
|
||||
FROM gitea/gitea:1.14.5
|
||||
FROM gitea/gitea:1.14.5-rootless
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
4
run.sh
4
run.sh
@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
FILE=/app/app_url.txt
|
||||
FILE=./app_url.txt
|
||||
ROOT_URL=$(cat $FILE)
|
||||
|
||||
|
||||
printf($ROOT_URL)
|
||||
HOST=`echo $DATABASE_URL | grep -o "@.*/" | sed 's/.$//' | cut -c 2-`
|
||||
NAME=`echo $DATABASE_URL | grep -o "/[[:alnum:]]*$" | cut -c 2-`
|
||||
USER=`echo $DATABASE_URL | grep -o "//[[:alnum:]]*:" | grep -o "[[:alnum:]]*"`
|
||||
|
Loading…
Reference in New Issue
Block a user