xoxys.droneci/defaults/main.yml
Robert Kaussow 01ea1cf575
Revert "fix compose v3 syntax"
This reverts commit fb715e3459bf8e7d253204e818baedff6d67fa21.
2020-06-16 22:08:32 +02:00

82 lines
2.3 KiB
YAML

---
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
droneci_host: http://localhost
droneci_secret: myveryownsecret
# @var droneci_license_key:description Path to the license key file
# @var droneci_license_key: $ "_unset_"
droneci_exposed_ports:
- "127.0.0.1:8080:80"
# @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
# @var droneci_networks:example: >
# droneci_networks:
# - name: droneci
# # optional network driver, defaults to 'bride'
# driver: host
# @end
droneci_networks:
- name: droneci
droneci_networks_applied:
- droneci
# @var droneci_memory_limit: $ "_unset_"
# @var droneci_memory_limit:example: $ "512m"
# @var droneci_memory_reservation: $ "_unset_"
# @var droneci_memory_reservation:example: $ "256m"
droneci_db_type: sqlite
droneci_db_server: localhost
droneci_db_port: 5432
droneci_db_name: droneci
droneci_db_user: pgdroneci
droneci_db_password: secure
droneci_db_ssl_mode: disable
droneci_gitea_enabled: False
droneci_gitea_server: http://my-git.example.com
droneci_gitea_skip_verify: False
# 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
# @var droneci_admin_user: $ "_unset_"
# @var droneci_http_proxy: $ "_unset_"
# @var droneci_https_proxy: $ "_unset_"
# @var droneci_no_proxy: $ ["drone-server", "drone-agent"]
droneci_no_proxy: []
droneci_docker_socket_path: /var/run/docker.sock
droneci_extra_hosts: []