xoxys.droneci/defaults/main.yml

82 lines
2.3 KiB
YAML
Raw Normal View History

2018-12-13 22:09:22 +00:00
---
2019-10-27 15:04:40 +00:00
droneci_version: 1.6.0
droneci_image: "drone/drone:{{ droneci_version }}"
droneci_service_directory: /var/lib/docker/services/droneci
droneci_container_name: droneci
droneci_restart_policy: always
droneci_service_stopped: False
2018-12-13 22:09:22 +00:00
droneci_host: http://localhost
droneci_secret: myveryownsecret
2019-10-16 20:24:46 +00:00
# @var droneci_license_key:description Path to the license key file
# @var droneci_license_key: $ "_unset_"
2018-12-13 22:09:22 +00:00
droneci_exposed_ports:
- "127.0.0.1:8080:80"
2019-10-16 20:24:46 +00: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
# - name: droneci-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:
- name: droneci-data
dest: /var/lib/drone
bind: False
2019-10-16 20:24:46 +00:00
# @var droneci_networks:example: >
# droneci_networks:
# - name: droneci
# # optional network driver, defaults to 'bride'
# driver: host
# @end
droneci_networks:
- name: droneci
2019-10-16 20:24:46 +00:00
droneci_networks_applied:
- droneci
2019-10-16 20:24:46 +00: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 20:24:46 +00:00
2019-10-27 15:17:37 +00:00
droneci_db_type: sqlite
droneci_db_server: localhost
2019-10-27 15:04:40 +00: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 22:09:22 +00:00
droneci_gitea_enabled: False
2019-01-11 20:27:47 +00:00
droneci_gitea_server: http://my-git.example.com
2019-05-18 23:44:23 +00:00
droneci_gitea_skip_verify: False
2019-10-16 20:24:46 +00:00
2019-05-18 23:44:23 +00: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 22:09:22 +00:00
# @var droneci_admin_user: $ "_unset_"
2019-10-16 20:24:46 +00:00
# @var droneci_http_proxy: $ "_unset_"
# @var droneci_https_proxy: $ "_unset_"
# @var droneci_no_proxy: $ ["drone-server", "drone-agent"]
droneci_no_proxy: []
2019-11-24 22:07:26 +00:00
droneci_docker_socket_path: /var/run/docker.sock
droneci_extra_hosts: []