Use new volume mount config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6be5bbce85
commit
2dc472865c
|
@ -4,12 +4,8 @@ vars:
|
||||||
domain: "drone.autonomic.zone"
|
domain: "drone.autonomic.zone"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- type: directory
|
- /var/lib/drone:/data
|
||||||
src: /var/lib/drone
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
dest: /data
|
|
||||||
- type: file
|
|
||||||
src: /var/run/docker.sock
|
|
||||||
dest: /var/run/docker.sock
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DOKKU_LETSENCRYPT_EMAIL: "helo@autonomic.zone"
|
DOKKU_LETSENCRYPT_EMAIL: "helo@autonomic.zone"
|
||||||
|
|
8
deploy.d/plays/predeploy.yml
Normal file
8
deploy.d/plays/predeploy.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
- name: Create drone application directories
|
||||||
|
become: true
|
||||||
|
file:
|
||||||
|
path: /var/lib/drone
|
||||||
|
owner: dokku
|
||||||
|
group: dokku
|
||||||
|
state: directory
|
Reference in New Issue
Block a user