From 17881f9d70adda8eca41965af9a2f91b3eac0932 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 1 Oct 2020 08:39:21 +0000 Subject: [PATCH] commit e9f855897e19d6d1c55815a456dfc9fadf831215 Author: Robert Kaussow Date: Thu Oct 1 10:34:39 2020 +0200 add option to expose ports --- index.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/index.md b/index.md index 88e4969..9929604 100644 --- a/index.md +++ b/index.md @@ -16,6 +16,7 @@ Setup [Drone CI autoscaler](https://autoscale.drone.io/). * [droneci_autoscaler_agent_token](#droneci_autoscaler_agent_token) * [droneci_autoscaler_agent_volumes](#droneci_autoscaler_agent_volumes) * [droneci_autoscaler_db_type](#droneci_autoscaler_db_type) + * [droneci_autoscaler_exposed_ports](#droneci_autoscaler_exposed_ports) * [droneci_autoscaler_gc_enabled](#droneci_autoscaler_gc_enabled) * [droneci_autoscaler_image](#droneci_autoscaler_image) * [droneci_autoscaler_instances](#droneci_autoscaler_instances) @@ -114,6 +115,21 @@ Database type to use (default sqlite). All other DB variable will ony be used it droneci_autoscaler_db_type: sqlite ``` +### droneci_autoscaler_exposed_ports + +#### Default value + +```YAML +droneci_autoscaler_exposed_ports: _unset_ +``` + +#### Example usage + +```YAML +droneci_autoscaler_exposed_ports: + - "8080:8080" +``` + ### droneci_autoscaler_gc_enabled #### Default value @@ -148,6 +164,7 @@ droneci_autoscaler_instances: agent_concurrency: 15 agent_architecture: amd64 sshkey: "dummy" + api_host: "drone-amd64.example.com" provider_config: - name: DRONE_HETZNERCLOUD_DATACENTER value: fsn1