allow to set exposed ip
This commit is contained in:
parent
9499724a04
commit
e5f792e9d2
@ -8,6 +8,7 @@ droneci_secret: myveryownsecret
|
||||
droneci_server_image: "drone/drone:{{ droneci_version }}"
|
||||
droneci_server_restart_policy: always
|
||||
droneci_server_exposed_port: 8080
|
||||
droneci_server_exposed_ip: 127.0.0.1
|
||||
|
||||
droneci_agent_image: "drone/agent:{{ droneci_version }}"
|
||||
droneci_agent_restart_policy: always
|
||||
|
@ -7,7 +7,7 @@ services:
|
||||
image: {{ droneci_server_image }}
|
||||
|
||||
ports:
|
||||
- {{ droneci_server_exposed_port }}:8000
|
||||
- {{ droneci_server_exposed_ip + ':' if droneci_server_exposed_ip is defined else '' }}{{ droneci_server_exposed_port }}:8000
|
||||
- 9000
|
||||
{% if not droneci_postgres_enabled %}
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user