mirror of
https://github.com/fbartels/cloudron-drone-app.git
synced 2024-11-22 05:10:59 +00:00
add logo
add a readme with instructions into the workdir of the running app prepare a line for adding an admin Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
621ea8d0cd
commit
9193367505
3 changed files with 12 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"version": "0.0.1",
|
||||
"id": "com.github.drone",
|
||||
"icon": "file://logo.png",
|
||||
"healthCheckPath": "/",
|
||||
"httpPort": 8000,
|
||||
"addons": {
|
||||
|
|
BIN
logo.png
Normal file
BIN
logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.9 KiB |
11
start.sh
11
start.sh
|
@ -16,6 +16,7 @@ DRONE_RPC_SECRET=$(random_string)
|
|||
DRONE_DATABASE_SECRET=$(random_string)
|
||||
DRONE_SERVER_HOST=$CLOUDRON_APP_DOMAIN
|
||||
DRONE_DATABASE_DATASOURCE=postgres://$CLOUDRON_POSTGRESQL_USERNAME:$CLOUDRON_POSTGRESQL_PASSWORD@$CLOUDRON_POSTGRESQL_HOST:$CLOUDRON_POSTGRESQL_PORT/$CLOUDRON_POSTGRESQL_DATABASE?sslmode=disable
|
||||
#DRONE_USER_CREATE=username:felix,admin:true
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
@ -24,6 +25,16 @@ set -a
|
|||
. /app/data/.env
|
||||
set +x
|
||||
|
||||
if [ ! -e /app/data/README.md ]; then
|
||||
cat <<-'EOF' > "/app/data/README.md"
|
||||
# Hey there!
|
||||
|
||||
Configuration for drone is stored in the file called `.env`. After you have made changes to it you can restart just drone-server by running `supervisorctl restart drone-server`.
|
||||
|
||||
To work with drone you need to configure a provider in your `.env` file. See https://docs.drone.io/server/overview/ for instructions.
|
||||
EOF
|
||||
fi
|
||||
|
||||
echo "=> Ensure permissions"
|
||||
chown -R cloudron:cloudron /run /app/data
|
||||
|
||||
|
|
Loading…
Reference in a new issue