update drone

This commit is contained in:
Philipp Rothmann 2023-02-24 17:46:34 +01:00
parent b94ca21022
commit 2614f095cb

View file

@ -79,7 +79,7 @@ steps:
- name: deployment - name: deployment
image: git.local-it.org/philipp/stack-ssh-deply:latest image: git.local-it.org/philipp/stack-ssh-deply:latest
settings: settings:
stack: "foodsoft_${DRONE_COMMIT:0:8}" stack: "foodsoft_${DRONE_BRANCH}"
compose: "deployment/compose.yml" compose: "deployment/compose.yml"
deploy_key: deploy_key:
from_secret: drone_deploy_key from_secret: drone_deploy_key
@ -96,23 +96,23 @@ steps:
- proxy - proxy
environment: environment:
IMAGE: git.local-it.org/foodsoft/foodsoft:${DRONE_COMMIT:0:8} IMAGE: git.local-it.org/foodsoft/foodsoft:${DRONE_COMMIT:0:8}
STACK_NAME: "foodsoft_${DRONE_COMMIT:0:8}" STACK_NAME: "foodsoft_${DRONE_BRANCH}"
DOMAIN: "${DRONE_COMMIT:0:8}.foodsoft.dev.local-it.cloud" DOMAIN: "foodsoft.dev.local-it.cloud"
LETS_ENCRYPT_ENV: production LETS_ENCRYPT_ENV: production
FOODCOOP_MULTI_INSTALL: true FOODCOOP_MULTI_INSTALL: true
FOODCOOP_NAME: example FOODCOOP_NAME: Einkaufskooperative Foobar
FOODCOOP_CITY: XXX FOODCOOP_CITY: Berlin
FOODCOOP_COUNTRY: XXX FOODCOOP_COUNTRY: Deutschland
FOODCOOP_EMAIL: info@example.org FOODCOOP_EMAIL: foodsoft@local-it.org
FOODCOOP_PHONE: XXX FOODCOOP_PHONE: 123456789
FOODCOOP_STREET: XXX FOODCOOP_STREET: Einkaufsstraße 5
FOODCOOP_ZIP_CODE: XXX FOODCOOP_ZIP_CODE: 12345
FOODCOOP_HOMEPAGE: https://order.example.org FOODCOOP_HOMEPAGE: https://foodsoft.local-it.org
FOODCOOP_HELP_URL: https://order.example.org FOODCOOP_HELP_URL: https://git.local-it.org/foodsoft/foodsoft
FOODCOOP_TIME_ZONE: Berlin FOODCOOP_TIME_ZONE: Berlin
FOODCOOP_USE_NICK: true FOODCOOP_USE_NICK: true
FOODCOOP_LANGUAGE: de FOODCOOP_LANGUAGE: de
FOODCOOP_FOOTER: '<a href="https://example.org/">example</a> hosted by <a href="https://yourhoster.org">Your Tech Co-op</a>.' FOODCOOP_FOOTER: '<a href="https://foodsoft.local-it.org/">Foodsoft</a> hosted by <a href="https://local-it.org">local-it e,V,</a>.'
USE_APPLE_POINTS: false USE_APPLE_POINTS: false
STOP_ORDERING_UNDER: 75 STOP_ORDERING_UNDER: 75
MINIMUM_BALANCE: 0 MINIMUM_BALANCE: 0
@ -120,15 +120,15 @@ steps:
MYSQL_HOST: db MYSQL_HOST: db
MYSQL_PORT: 3306 MYSQL_PORT: 3306
MYSQL_USER: foodsoft MYSQL_USER: foodsoft
EMAIL_SENDER: noreply@example.org EMAIL_SENDER: demo@local-it.org
EMAIL_ERROR: systems@example.org EMAIL_ERROR: flip@yksflip.de
SMTP_ADDRESS: mail.example.com SMTP_ADDRESS: mail.local-it.org
SMTP_AUTHENTICATION: plain SMTP_AUTHENTICATION: login
SMTP_DOMAIN: mail.example.com SMTP_DOMAIN: mail.local-it.org
SMTP_ENABLE_STARTTLS_AUTO: true SMTP_ENABLE_STARTTLS_AUTO: true
SMTP_PORT: 587 SMTP_PORT: 587
SMTP_USER_NAME: foodsoft SMTP_USER_NAME: demo@local-it.org
EMAIL_REPLY_DOMAIN: example.org EMAIL_REPLY_DOMAIN:
SMTP_SERVER_HOST: 0.0.0.0 SMTP_SERVER_HOST: 0.0.0.0
SMTP_SERVER_PORT: 2525 SMTP_SERVER_PORT: 2525
SECRET_DB_PASSWORD_VERSION: v1 SECRET_DB_PASSWORD_VERSION: v1