You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
371 B
Bash
10 lines
371 B
Bash
#!/usr/bin/env bash
|
|
|
|
export HOSTNAME=$(hostname)
|
|
export DRONE_VERSION=2.16.0
|
|
export DRONE_RUNNER_VERSION=1.8.3
|
|
export GITEA_ADMIN_USER="admin"
|
|
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}"
|
|
docker-compose -f docker-compose/drone.yml up -d
|