chore: add variable droneci_privileged and disable privileged by default
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
00be5aed33
commit
1e04aa6c4e
@ -54,6 +54,8 @@ droneci_networks_applied:
|
|||||||
# @var droneci_memory_reservation: $ "_unset_"
|
# @var droneci_memory_reservation: $ "_unset_"
|
||||||
# @var droneci_memory_reservation:example: $ "256m"
|
# @var droneci_memory_reservation:example: $ "256m"
|
||||||
|
|
||||||
|
droneci_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
|
||||||
|
@ -31,7 +31,7 @@ services:
|
|||||||
- {{ host | quote }}
|
- {{ host | quote }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
privileged: true
|
privileged: {{ droneci_privileged | bool | lower }}
|
||||||
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') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user