fix: replace hardcoded rpc proto
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ec30230a0e
commit
e6e7df77d3
@ -11,8 +11,9 @@ droneci_runner_docker_service_stopped: False
|
|||||||
droneci_runner_docker_capacity: 2
|
droneci_runner_docker_capacity: 2
|
||||||
droneci_drone_runner_labels: []
|
droneci_drone_runner_labels: []
|
||||||
|
|
||||||
droneci_runner_docker_server: droneci
|
droneci_runner_docker_server_proto: http
|
||||||
droneci_runner_docker_secret: myveryownsecret
|
droneci_runner_docker_server_host: droneci
|
||||||
|
droneci_runner_docker_server_secret: myveryownsecret
|
||||||
|
|
||||||
# @var droneci_runner_docker_memory_limit:example: $ "512m"
|
# @var droneci_runner_docker_memory_limit:example: $ "512m"
|
||||||
# @var droneci_runner_docker_memory_limit: $ "_unset_"
|
# @var droneci_runner_docker_memory_limit: $ "_unset_"
|
||||||
|
@ -17,9 +17,9 @@ services:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
- DRONE_RPC_PROTO=http
|
- DRONE_RPC_PROTO={{ droneci_runner_docker_server_proto }}
|
||||||
- DRONE_RPC_HOST={{ droneci_runner_docker_server }}
|
- DRONE_RPC_HOST={{ droneci_runner_docker_server_host }}
|
||||||
- DRONE_RPC_SECRET={{ droneci_runner_docker_secret }}
|
- DRONE_RPC_SECRET={{ droneci_runner_docker_server_secret }}
|
||||||
- DRONE_RUNNER_CAPACITY={{ droneci_runner_docker_capacity }}
|
- DRONE_RUNNER_CAPACITY={{ droneci_runner_docker_capacity }}
|
||||||
{% if droneci_drone_runner_labels | default([]) | length > 0 %}
|
{% if droneci_drone_runner_labels | default([]) | length > 0 %}
|
||||||
- DRONE_RUNNER_LABELS={{ droneci_drone_runner_labels | join(",") }}
|
- DRONE_RUNNER_LABELS={{ droneci_drone_runner_labels | join(",") }}
|
||||||
|
Loading…
Reference in New Issue
Block a user