Author: Robert Kaussow <mail@geeklabor.de>
Date:   Tue Jun 16 01:06:52 2020 +0200

    move to docker-compose.yml
This commit is contained in:
Robert Kaussow 2020-06-15 23:10:33 +00:00
parent 854975aea9
commit 50444eee3d

View File

@ -11,9 +11,10 @@ Setup Drone CI docker runner
* [droneci_runner_docker_capacity](#droneci_runner_docker_capacity) * [droneci_runner_docker_capacity](#droneci_runner_docker_capacity)
* [droneci_runner_docker_container_name](#droneci_runner_docker_container_name) * [droneci_runner_docker_container_name](#droneci_runner_docker_container_name)
* [droneci_runner_docker_image](#droneci_runner_docker_image) * [droneci_runner_docker_image](#droneci_runner_docker_image)
* [droneci_runner_docker_memory_limit](#droneci_runner_docker_memory_limit)
* [droneci_runner_docker_memory_reservation](#droneci_runner_docker_memory_reservation)
* [droneci_runner_docker_networks](#droneci_runner_docker_networks) * [droneci_runner_docker_networks](#droneci_runner_docker_networks)
* [droneci_runner_docker_networks_applied](#droneci_runner_docker_networks_applied) * [droneci_runner_docker_networks_applied](#droneci_runner_docker_networks_applied)
* [droneci_runner_docker_resources](#droneci_runner_docker_resources)
* [droneci_runner_docker_secret](#droneci_runner_docker_secret) * [droneci_runner_docker_secret](#droneci_runner_docker_secret)
* [droneci_runner_docker_server](#droneci_runner_docker_server) * [droneci_runner_docker_server](#droneci_runner_docker_server)
* [droneci_runner_docker_service_directory](#droneci_runner_docker_service_directory) * [droneci_runner_docker_service_directory](#droneci_runner_docker_service_directory)
@ -51,13 +52,41 @@ droneci_runner_docker_image: drone/drone-runner-docker:{{ droneci_runner_docker_
}} }}
``` ```
### droneci_runner_docker_memory_limit
#### Default value
```YAML
droneci_runner_docker_memory_limit: _unset_
```
#### Example usage
```YAML
droneci_runner_docker_memory_limit: 512m
```
### droneci_runner_docker_memory_reservation
#### Default value
```YAML
droneci_runner_docker_memory_reservation: _unset_
```
#### Example usage
```YAML
droneci_runner_docker_memory_reservation: 256m
```
### droneci_runner_docker_networks ### droneci_runner_docker_networks
#### Default value #### Default value
```YAML ```YAML
droneci_runner_docker_networks: droneci_runner_docker_networks:
- name: droneci - name: droneci_droneci
external: true external: true
``` ```
@ -76,27 +105,7 @@ droneci_runner_docker_networks:
```YAML ```YAML
droneci_runner_docker_networks_applied: droneci_runner_docker_networks_applied:
- droneci - droneci_droneci
```
### droneci_runner_docker_resources
#### Default value
```YAML
droneci_runner_docker_resources: _unset_
```
#### Example usage
```YAML
droneci_runner_docker_resources:
limits:
cpus: "0.50"
memory: 50M
reservations:
cpus: "0.25"
memory: 20M
``` ```
### droneci_runner_docker_secret ### droneci_runner_docker_secret
@ -120,7 +129,7 @@ droneci_runner_docker_server: droneci
#### Default value #### Default value
```YAML ```YAML
droneci_runner_docker_service_directory: /var/lib/docker/services/droneci droneci_runner_docker_service_directory: /var/lib/docker/services/droneci_runner_docker
``` ```
### droneci_runner_docker_service_stopped ### droneci_runner_docker_service_stopped