Add Drone config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
c v t 2020-06-30 01:14:50 +02:00
parent edda693673
commit ada62597f1
2 changed files with 23 additions and 0 deletions

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
---
kind: pipeline
name: deploy to swarm.autonomic.zone
steps:
- name: deployment
image: decentral1se/drone-stack:19.03.8
settings:
compose: compose.yml
host: tcp://swarm.autonomic.zone:2376
stack_name: nextcloud
tlsverify: true
environment:
PLUGIN_CACERT:
from_secret: docker_cacert
PLUGIN_CERT:
from_secret: docker_cert
PLUGIN_KEY:
from_secret: docker_key
trigger:
branch:
- main

View File

@ -1,5 +1,7 @@
export PASSWORD_STORE_DIR=$(pwd)/../../Infrastructure/infrastructure/credentials/password-store
export DB_ROOT_PASSWD_VERSION=v1
export DB_PASSWD_VERSION=v1
export DOMAIN=nextcloud.swarm.autonomic.zone
export STACK_NAME=nextcloud
export LETS_ENCRYPT_ENV=production