fix drone ci

This commit is contained in:
Elizabeth Hunt 2024-03-26 18:24:48 -04:00
parent f305379de2
commit 061ae56381
3 changed files with 5 additions and 0 deletions

View File

@ -2,3 +2,4 @@
drone_gitea_server: "https://git.hatecomputers.club" drone_gitea_server: "https://git.hatecomputers.club"
drone_server_host: "https://ci.hatecomputers.club" drone_server_host: "https://ci.hatecomputers.club"
drone_admin_username: "gitea_admin"

View File

@ -16,6 +16,7 @@ services:
- DRONE_SERVER_PROTO=https - DRONE_SERVER_PROTO=https
- DRONE_SERVER_HOST={{ drone_server_host }} - DRONE_SERVER_HOST={{ drone_server_host }}
- DRONE_RPC_SECRET={{ drone_rpc_secret }} - DRONE_RPC_SECRET={{ drone_rpc_secret }}
- DRONE_USER_CREATE=username:{{ drone_admin_username }},admin:true
drone-runner: drone-runner:
container_name: drone_runner container_name: drone_runner
image: drone/drone-runner-docker:latest image: drone/drone-runner-docker:latest

View File

@ -17,5 +17,8 @@ server {
proxy_pass http://127.0.0.1:9966; proxy_pass http://127.0.0.1:9966;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host; proxy_set_header Host $host;
client_max_body_size 500M; # docker images can get large :3
client_body_buffer_size 128k;
} }
} }