22 lines
742 B
YAML
22 lines
742 B
YAML
---
|
|
- name: Drone container
|
|
docker_container:
|
|
name: drone
|
|
image: drone/drone@sha256:eb7e35bc1cb5ca797304aff65fe24031d26d8d3e2ee4671a8fe9e0fc6f479455
|
|
restart_policy: unless-stopped
|
|
networks:
|
|
- name: external_services
|
|
volumes:
|
|
- "{{ drone.volume_folder }}:/data"
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
env:
|
|
DRONE_GITEA_SERVER: "https://{{ gitea.domain }}"
|
|
DRONE_GITEA_ALWAYS_AUTH: "False"
|
|
DRONE_RUNNER_CAPACITY: "2"
|
|
DRONE_SERVER_HOST: "{{ drone.domain }}"
|
|
DRONE_SERVER_PROTO: "https"
|
|
PLUGIN_CUSTOM_DNS: "91.239.100.100"
|
|
VIRTUAL_HOST: "{{ drone.domain }}"
|
|
LETSENCRYPT_HOST: "{{ drone.domain }}"
|
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|