Author: Robert Kaussow <mail@geeklabor.de>
Date:   Thu Oct 1 10:34:39 2020 +0200

    add option to expose ports
This commit is contained in:
Robert Kaussow 2020-10-01 08:39:21 +00:00
parent a647f21be6
commit 17881f9d70

View File

@ -16,6 +16,7 @@ Setup [Drone CI autoscaler](https://autoscale.drone.io/).
* [droneci_autoscaler_agent_token](#droneci_autoscaler_agent_token) * [droneci_autoscaler_agent_token](#droneci_autoscaler_agent_token)
* [droneci_autoscaler_agent_volumes](#droneci_autoscaler_agent_volumes) * [droneci_autoscaler_agent_volumes](#droneci_autoscaler_agent_volumes)
* [droneci_autoscaler_db_type](#droneci_autoscaler_db_type) * [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_gc_enabled](#droneci_autoscaler_gc_enabled)
* [droneci_autoscaler_image](#droneci_autoscaler_image) * [droneci_autoscaler_image](#droneci_autoscaler_image)
* [droneci_autoscaler_instances](#droneci_autoscaler_instances) * [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_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 ### droneci_autoscaler_gc_enabled
#### Default value #### Default value
@ -148,6 +164,7 @@ droneci_autoscaler_instances:
agent_concurrency: 15 agent_concurrency: 15
agent_architecture: amd64 agent_architecture: amd64
sshkey: "dummy" sshkey: "dummy"
api_host: "drone-amd64.example.com"
provider_config: provider_config:
- name: DRONE_HETZNERCLOUD_DATACENTER - name: DRONE_HETZNERCLOUD_DATACENTER
value: fsn1 value: fsn1