fix drone ci
This commit is contained in:
parent
f305379de2
commit
061ae56381
|
@ -2,3 +2,4 @@
|
|||
|
||||
drone_gitea_server: "https://git.hatecomputers.club"
|
||||
drone_server_host: "https://ci.hatecomputers.club"
|
||||
drone_admin_username: "gitea_admin"
|
||||
|
|
|
@ -16,6 +16,7 @@ services:
|
|||
- DRONE_SERVER_PROTO=https
|
||||
- DRONE_SERVER_HOST={{ drone_server_host }}
|
||||
- DRONE_RPC_SECRET={{ drone_rpc_secret }}
|
||||
- DRONE_USER_CREATE=username:{{ drone_admin_username }},admin:true
|
||||
drone-runner:
|
||||
container_name: drone_runner
|
||||
image: drone/drone-runner-docker:latest
|
||||
|
|
|
@ -17,5 +17,8 @@ server {
|
|||
proxy_pass http://127.0.0.1:9966;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
client_max_body_size 500M; # docker images can get large :3
|
||||
client_body_buffer_size 128k;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue