chore: add variable droneci_privileged and disable privileged by default
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-01-28 11:21:32 +01:00
parent 00be5aed33
commit 1e04aa6c4e
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 3 additions and 1 deletions

View File

@ -54,6 +54,8 @@ droneci_networks_applied:
# @var droneci_memory_reservation: $ "_unset_"
# @var droneci_memory_reservation:example: $ "256m"
droneci_privileged: False
droneci_db_type: sqlite
droneci_db_server: localhost
droneci_db_port: 5432

View File

@ -31,7 +31,7 @@ services:
- {{ host | quote }}
{% endfor %}
{% endif %}
privileged: true
privileged: {{ droneci_privileged | bool | lower }}
environment:
- DRONE_SERVER_HOST={{ droneci_host | urlsplit('hostname') }}
- DRONE_SERVER_PROTO={{ droneci_host | urlsplit('scheme') }}