mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-18 08:15:34 +01:00
Integrate drone with github instead of gitea
This commit is contained in:
parent
9c2fdc7213
commit
88475cc82b
@ -51,10 +51,18 @@ GITEA_MYSQL_USER=
|
|||||||
GITEA_MYSQL_PASSWORD=
|
GITEA_MYSQL_PASSWORD=
|
||||||
|
|
||||||
# drone
|
# drone
|
||||||
DRONE_GITEA_SERVER=https://git.domain.com
|
# gitea integration is disabled right now, instead i use github
|
||||||
|
#DRONE_GITEA_SERVER=https://git.domain.com
|
||||||
|
# generate these in gitea
|
||||||
|
#DRONE_GITEA_CLIENT_ID=
|
||||||
|
#DRONE_GITEA_CLIENT_SECRET=
|
||||||
|
DRONE_GITHUB_CLIENT_ID=
|
||||||
|
DRONE_GITHUB_CLIENT_SECRET=
|
||||||
DRONE_SERVER_HOST=https://drone.domain.com
|
DRONE_SERVER_HOST=https://drone.domain.com
|
||||||
DRONE_RPC_SECRET=
|
DRONE_RPC_SECRET=
|
||||||
# generate these in gitea
|
|
||||||
DRONE_GITEA_CLIENT_ID=
|
|
||||||
DRONE_GITEA_CLIENT_SECRET=
|
|
||||||
DRONE_USER_CREATE=username:<--USERNAME-->,machine:false,admin:true,token:${DRONE_RPC_SECRET}
|
DRONE_USER_CREATE=username:<--USERNAME-->,machine:false,admin:true,token:${DRONE_RPC_SECRET}
|
||||||
|
|
||||||
|
# collabora
|
||||||
|
COLLABORA_USERNAME=
|
||||||
|
COLLABORA_PASSWORD=
|
||||||
|
COLLABORA_DOMAIN=
|
||||||
|
@ -45,12 +45,11 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DRONE_DATABASE_DRIVER=sqlite3
|
- DRONE_DATABASE_DRIVER=sqlite3
|
||||||
- DRONE_DATABASE_DATASOURCE=/data/database.sqlite
|
- DRONE_DATABASE_DATASOURCE=/data/database.sqlite
|
||||||
- DRONE_GITEA_SERVER=${DRONE_GITEA_SERVER}
|
|
||||||
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
|
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
|
||||||
- DRONE_SERVER_PROTO=https
|
- DRONE_SERVER_PROTO=https
|
||||||
- DRONE_SERVER_HOST=${DRONE_SERVER_HOST}
|
- DRONE_SERVER_HOST=${DRONE_SERVER_HOST}
|
||||||
- DRONE_GITEA_CLIENT_ID=${DRONE_GITEA_CLIENT_ID}
|
- DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID}
|
||||||
- DRONE_GITEA_CLIENT_SECRET=${DRONE_GITEA_CLIENT_SECRET}
|
- DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_SECRET}
|
||||||
- DRONE_LOGS_DEBUG=true
|
- DRONE_LOGS_DEBUG=true
|
||||||
- DRONE_USER_CREATE=${DRONE_USER_CREATE}
|
- DRONE_USER_CREATE=${DRONE_USER_CREATE}
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user