Use new volume mount config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-04-15 16:56:20 +02:00
parent 6be5bbce85
commit 2dc472865c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 10 additions and 6 deletions

View File

@ -4,12 +4,8 @@ vars:
domain: "drone.autonomic.zone"
volumes:
- type: directory
src: /var/lib/drone
dest: /data
- type: file
src: /var/run/docker.sock
dest: /var/run/docker.sock
- /var/lib/drone:/data
- /var/run/docker.sock:/var/run/docker.sock
env:
DOKKU_LETSENCRYPT_EMAIL: "helo@autonomic.zone"

View File

@ -0,0 +1,8 @@
---
- name: Create drone application directories
become: true
file:
path: /var/lib/drone
owner: dokku
group: dokku
state: directory