Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
a0d5c9fc48 | |||
900751b77e | |||
f660ad5c1c | |||
225569c478 | |||
02610fdee9 | |||
f1f768b424 |
41
.drone.yml
Normal file
41
.drone.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: deploy to swarm-test.autonomic.zone
|
||||||
|
steps:
|
||||||
|
- name: deployment
|
||||||
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||||
|
settings:
|
||||||
|
host: swarm-test.autonomic.zone
|
||||||
|
stack: firefly-iii
|
||||||
|
generate_secrets: true
|
||||||
|
purge: true
|
||||||
|
deploy_key:
|
||||||
|
from_secret: drone_ssh_swarm_test
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
environment:
|
||||||
|
DOMAIN: firefly-iii.swarm-test.autonomic.zone
|
||||||
|
STACK_NAME: firefly-iii
|
||||||
|
LETS_ENCRYPT_ENV: production
|
||||||
|
SECRET_APP_KEY_VERSION: v1
|
||||||
|
SECRET_STATIC_CRON_TOKEN_VERSION: v1
|
||||||
|
SECRET_DB_PASSWORD_VERSION: v1
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: generate recipe catalogue
|
||||||
|
steps:
|
||||||
|
- name: release a new version
|
||||||
|
image: plugins/downstream
|
||||||
|
settings:
|
||||||
|
server: https://build.coopcloud.tech
|
||||||
|
token:
|
||||||
|
from_secret: drone_abra-bot_token
|
||||||
|
fork: true
|
||||||
|
repositories:
|
||||||
|
- toolshed/auto-recipes-catalogue-json
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event: tag
|
@ -1,5 +1,5 @@
|
|||||||
TYPE=firefly-iii
|
TYPE=firefly-iii
|
||||||
DOMAIN=example.com
|
DOMAIN=firefly-iii.example.com
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
|
|
||||||
APP_NAME=FireflyIII
|
APP_NAME=FireflyIII
|
||||||
|
@ -2,7 +2,7 @@ version: '3.8'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: fireflyiii/core:version-5.5.13
|
image: fireflyiii/core:version-6.2.9
|
||||||
volumes:
|
volumes:
|
||||||
- firefly_iii_upload:/var/www/html/storage/upload
|
- firefly_iii_upload:/var/www/html/storage/upload
|
||||||
secrets:
|
secrets:
|
||||||
@ -121,7 +121,7 @@ volumes:
|
|||||||
firefly_iii_db:
|
firefly_iii_db:
|
||||||
secrets:
|
secrets:
|
||||||
cron_token:
|
cron_token:
|
||||||
name: ${STACK_NAME}_static_cron_token_${SECRET_STATIC_CRON_TOKEN_VERSION}
|
name: ${STACK_NAME}_cron_token_${SECRET_STATIC_CRON_TOKEN_VERSION}
|
||||||
external: true
|
external: true
|
||||||
app_key:
|
app_key:
|
||||||
name: ${STACK_NAME}_app_key_${SECRET_APP_KEY_VERSION}
|
name: ${STACK_NAME}_app_key_${SECRET_APP_KEY_VERSION}
|
||||||
|
Reference in New Issue
Block a user