xoxys.droneci/defaults/main.yml

81 lines
2.3 KiB
YAML
Raw Normal View History

2018-12-13 23:09:22 +01:00
---
2019-10-27 16:04:40 +01:00
droneci_version: 1.6.0
droneci_image: "drone/drone:{{ droneci_version }}"
droneci_service_directory: /var/lib/docker/services/droneci
2020-06-16 22:04:08 +02:00
droneci_docker_socket_path: /var/run/docker.sock
droneci_container_name: droneci
droneci_restart_policy: always
droneci_service_stopped: False
2018-12-13 23:09:22 +01:00
droneci_host: http://localhost
droneci_secret: myveryownsecret
2019-10-16 22:24:46 +02:00
# @var droneci_license_key:description Path to the license key file
# @var droneci_license_key: $ "_unset_"
2018-12-13 23:09:22 +01:00
droneci_exposed_ports:
- "127.0.0.1:8080:80"
2019-10-16 22:24:46 +02:00
# @var droneci_volumes:description: > Define required docker volumes.
# If you don't use sqlite you could remove the default volume. To enable a Drone licences
# you will need to configure a bind mount to `/etc/drone.key`.
# @end
# @var droneci_volumes:example: >
# droneci_volumes:
# # Instead of the name you could specify a path on the container host system,
# # but you also have to enable bind mount for this volume
2020-06-18 16:07:23 +02:00
# - name: data
# # target location inside the container
# dest: /var/lib/drone
# # enable bind mount, if false volume will be configured as named volume
# # keep in mind you MUST set bind in any case
# bind: True
# @end
droneci_volumes:
2020-06-18 16:07:23 +02:00
- name: data
dest: /var/lib/drone
bind: False
2019-10-16 22:24:46 +02:00
# @var droneci_networks:example: >
# droneci_networks:
2020-06-18 16:07:23 +02:00
# - name: default
# # optional network driver, defaults to 'bride'
# driver: host
# @end
droneci_networks:
2020-06-18 16:07:23 +02:00
- name: default
2019-10-16 22:24:46 +02:00
droneci_networks_applied:
2020-06-18 16:07:23 +02:00
- default
2019-10-16 22:24:46 +02:00
# @var droneci_memory_limit: $ "_unset_"
# @var droneci_memory_limit:example: $ "512m"
# @var droneci_memory_reservation: $ "_unset_"
# @var droneci_memory_reservation:example: $ "256m"
2019-10-16 22:24:46 +02:00
2019-10-27 16:17:37 +01:00
droneci_db_type: sqlite
droneci_db_server: localhost
2019-10-27 16:04:40 +01:00
droneci_db_port: 5432
droneci_db_name: droneci
droneci_db_user: pgdroneci
droneci_db_password: secure
droneci_db_ssl_mode: disable
2018-12-13 23:09:22 +01:00
droneci_gitea_enabled: False
2019-01-11 21:27:47 +01:00
droneci_gitea_server: http://my-git.example.com
2019-05-19 01:44:23 +02:00
droneci_gitea_skip_verify: False
2019-10-16 22:24:46 +02:00
2019-05-19 01:44:23 +02:00
# To enable gitea oauth set both
# droneci_gitea_oauth_client_id: 1111-222-33333-44444 # defaults to not set
# droneci_gitea_oauth_client_secret: 1234abcd5678efgh # defaults to not set
2018-12-13 23:09:22 +01:00
# @var droneci_admin_user: $ "_unset_"
2019-10-16 22:24:46 +02:00
# @var droneci_http_proxy: $ "_unset_"
# @var droneci_https_proxy: $ "_unset_"
# @var droneci_no_proxy: $ ["drone-server", "drone-agent"]
droneci_no_proxy: []
droneci_extra_hosts: []