22 lines
811 B
Bash
22 lines
811 B
Bash
#!/usr/bin/env bash
|
|
|
|
docker run \
|
|
--volume=/var/lib/drone:/data \
|
|
--env=DRONE_GITEA_SERVER="https://git.home.rekahsoft.ca" \
|
|
--env=DRONE_GITEA_CLIENT_ID="25793ca8-0057-494b-b6a5-e7534104f546" \
|
|
--env=DRONE_GITEA_CLIENT_SECRET="Br9vQ-WG4nkC4cVwnCEFsfQg_WD6ax5Ebi5hNwiSd9M=" \
|
|
--env=DRONE_RPC_SECRET="8cb1a6fbc4febc68a99c4f1cc3f11f2a" \
|
|
--env=DRONE_SERVER_HOST="ci.home.rekahsoft.ca" \
|
|
--env=DRONE_SERVER_PROTO=https \
|
|
--env=DRONE_USER_CREATE=username:rekahsoft,admin:true \
|
|
--env=DRONE_JSONNET_ENABLED=true \
|
|
--publish=80:80 \
|
|
--restart=always \
|
|
--detach=true \
|
|
--name=drone \
|
|
--log-driver=loki \
|
|
--log-opt loki-url="http://loki.home.rekahsoft.ca:3100/loki/api/v1/push" \
|
|
--log-opt loki-retries=5 \
|
|
--log-opt loki-batch-size=400 \
|
|
docker.nexus.home.rekahsoft.ca/drone/drone:2
|