minor improvements

This commit is contained in:
garionion 2021-04-12 14:03:26 +02:00
parent 2e4fc1a8cc
commit fc63aaf719
Signed by: garionion
GPG key ID: 53352FA607FA681A
4 changed files with 6 additions and 7 deletions

View file

@ -42,11 +42,11 @@
environment = {
/*DRONE_DATABASE_DRIVER="postgres";
DRONE_DATABASE_DATASOURCE="postgresql:///drone?host=/run/postgresql";*/
DRONE_DATABASE_SECRET= toString ./drone_database.secret;
DRONE_DATABASE_SECRET= (builtins.readFile ./drone_database.secret);
DRONE_GITEA_SERVER="https://git.entr0py.de";
DRONE_GITEA_CLIENT_ID="07f3c25c-4f9d-4642-afcf-c419976cfaac";
DRONE_GITEA_CLIENT_SECRET= toString ./gitea_client.secret;
DRONE_RPC_SECRET= toString ./drone_rpc.secret;
DRONE_GITEA_CLIENT_SECRET= (builtins.readFile ./gitea_client.secret);
DRONE_RPC_SECRET= (builtins.readFile ./drone_rpc.secret);
DRONE_SERVER_HOST="drone.entr0py.de";
DRONE_SERVER_PROTO="https";
DRONE_USER_CREATE="username:garionion,admin:true";
@ -63,7 +63,7 @@
dependsOn = [ "drone-server" ];
image = "drone/drone-runner-docker:1";
environment = {
DRONE_RPC_SECRET= toString ./drone_rpc.secret;
DRONE_RPC_SECRET= (builtins.readFile ./drone_rpc.secret);
DRONE_RPC_PROTO="https";
DRONE_RPC_HOST="drone.entr0py.de";
DRONE_RUNNER_CAPACITY="4";