make priviled mode mandatory
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
7e7011d9c9
commit
cc5e7e3763
@ -22,8 +22,6 @@ droneci_server_exposed_ip: 127.0.0.1
|
|||||||
|
|
||||||
droneci_server_extra_hosts: []
|
droneci_server_extra_hosts: []
|
||||||
|
|
||||||
droneci_server_privileged: False
|
|
||||||
|
|
||||||
droneci_agent_container_name: drone-agent
|
droneci_agent_container_name: drone-agent
|
||||||
droneci_agent_image: "drone/drone-runner-docker:1.0.1"
|
droneci_agent_image: "drone/drone-runner-docker:1.0.1"
|
||||||
droneci_agent_capacity: 2
|
droneci_agent_capacity: 2
|
||||||
@ -33,8 +31,6 @@ droneci_agent_capacity: 2
|
|||||||
# @var droneci_agent_memory_reservation:example: $ "256m"
|
# @var droneci_agent_memory_reservation:example: $ "256m"
|
||||||
# @var droneci_agent_memory_reservation: $ "_unset_"
|
# @var droneci_agent_memory_reservation: $ "_unset_"
|
||||||
|
|
||||||
droneci_agent_privileged: False
|
|
||||||
|
|
||||||
droneci_db_type: sqlite
|
droneci_db_type: sqlite
|
||||||
droneci_db_server: localhost
|
droneci_db_server: localhost
|
||||||
droneci_db_port: 5432
|
droneci_db_port: 5432
|
||||||
|
@ -21,9 +21,7 @@ services:
|
|||||||
- {{ '"' + host + '"' }}
|
- {{ '"' + host + '"' }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if droneci_server_privileged %}
|
|
||||||
privileged: true
|
privileged: true
|
||||||
{% endif %}
|
|
||||||
environment:
|
environment:
|
||||||
- DRONE_SERVER_HOST={{ droneci_host | urlsplit('hostname') }}
|
- DRONE_SERVER_HOST={{ droneci_host | urlsplit('hostname') }}
|
||||||
- DRONE_SERVER_PROTO={{ droneci_host | urlsplit('scheme') }}
|
- DRONE_SERVER_PROTO={{ droneci_host | urlsplit('scheme') }}
|
||||||
@ -69,9 +67,7 @@ services:
|
|||||||
- droneserver
|
- droneserver
|
||||||
volumes:
|
volumes:
|
||||||
- {{ droneci_docker_socket_path }}:/var/run/docker.sock
|
- {{ droneci_docker_socket_path }}:/var/run/docker.sock
|
||||||
{% if droneci_agent_privileged %}
|
|
||||||
privileged: true
|
privileged: true
|
||||||
{% endif %}
|
|
||||||
environment:
|
environment:
|
||||||
- DRONE_RPC_PROTO=http
|
- DRONE_RPC_PROTO=http
|
||||||
- DRONE_RPC_HOST=droneserver
|
- DRONE_RPC_HOST=droneserver
|
||||||
|
Loading…
Reference in New Issue
Block a user