Documentation on where important variables are set.

main
Nick Dumas 2 years ago
parent c1e9e584f4
commit 38cbd892b4

@ -6,4 +6,8 @@ export DRONE_RUNNER_VERSION=1.8.3
export GITEA_ADMIN_USER="admin" export GITEA_ADMIN_USER="admin"
export DRONE_RPC_SECRET="$(echo ${HOSTNAME} | openssl dgst -md5 -hex)" export DRONE_RPC_SECRET="$(echo ${HOSTNAME} | openssl dgst -md5 -hex)"
export DRONE_USER_CREATE="username:${GITEA_ADMIN_USER},machine:false,admin:true,token:${DRONE_RPC_SECRET}" export DRONE_USER_CREATE="username:${GITEA_ADMIN_USER},machine:false,admin:true,token:${DRONE_RPC_SECRET}"
# These are set in ~/.bash_profile
# export DRONE_GITEA_CLIENT_ID=""
# export DRONE_GITEA_CLIENT_SECRET=""
docker-compose -f docker-compose/drone.yml up -d docker-compose -f docker-compose/drone.yml up -d

Loading…
Cancel
Save