This commit is contained in:
parent
edda693673
commit
ada62597f1
21
.drone.yml
Normal file
21
.drone.yml
Normal 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
|
@ -1,5 +1,7 @@
|
|||||||
export PASSWORD_STORE_DIR=$(pwd)/../../Infrastructure/infrastructure/credentials/password-store
|
export PASSWORD_STORE_DIR=$(pwd)/../../Infrastructure/infrastructure/credentials/password-store
|
||||||
|
|
||||||
export DB_ROOT_PASSWD_VERSION=v1
|
export DB_ROOT_PASSWD_VERSION=v1
|
||||||
|
export DB_PASSWD_VERSION=v1
|
||||||
export DOMAIN=nextcloud.swarm.autonomic.zone
|
export DOMAIN=nextcloud.swarm.autonomic.zone
|
||||||
export STACK_NAME=nextcloud
|
export STACK_NAME=nextcloud
|
||||||
|
export LETS_ENCRYPT_ENV=production
|
||||||
|
Reference in New Issue
Block a user