Compare commits

..

2 Commits

Author SHA1 Message Date
knoflook 62f1b0f6cf chore: publish 0.3.0+1.26.0 release 2023-01-21 12:07:29 +01:00
knoflook e58aa8cb50 add smtp support 2023-01-21 12:05:46 +01:00
6 changed files with 16 additions and 22 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ kind: pipeline
name: deploy to swarm-test.autonomic.zone
steps:
- name: deployment
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
image: decentral1se/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: vaultwarden
+4 -7
View File
@@ -3,8 +3,6 @@ TYPE=vaultwarden
DOMAIN=vaultwarden.example.com
LETS_ENCRYPT_ENV=production
COMPOSE_FILE="compose.yml"
WEBSOCKET_ENABLED=true
SIGNUPS_ALLOWED=true
@@ -15,12 +13,11 @@ LOG_LEVEL=warn
SECRET_ADMIN_TOKEN_VERSION=v1 # length=48
## SMTP settings
# SMTP settings
#COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
#SECRET_SMTP_PASSWORD_VERSION=v1
#SMTP_FROM=noreply@example.com
#SMTP_USERNAME=noreply@example.com
#SMTP_HOST=mail.example.com
#SMTP_FROM=
#SMTP_USERNAME=
#SMTP_HOST=
#SMTP_PORT=587
#SMTP_SECURITY=starttls
+1 -1
View File
@@ -1,4 +1,4 @@
export APP_ENTRYPOINT_VERSION=v2
export APP_ENTRYPOINT_VERSION=v1
APP_DIR="app:/data"
_backup_app() {
+8 -8
View File
@@ -1,17 +1,17 @@
---
version: "3.8"
services:
app:
environment:
- SMTP_FROM
- SMTP_HOST
- SMTP_PORT
- SMTP_SECURITY
- SMTP_USERNAME
- SMTP_PASSWORD_FILE=/run/secrets/smtp_password
secrets:
- smtp_password
environment:
- "SMTP_PASSWORD_FILE=/run/secrets/smtp_password"
- "SMTP_FROM"
- "SMTP_USERNAME"
- "SMTP_HOST"
- "SMTP_PORT"
- "SMTP_SECURITY"
secrets:
smtp_password:
+2 -4
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: vaultwarden/server:1.32.0
image: vaultwarden/server:1.26.0
networks:
- proxy
environment:
@@ -39,9 +39,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=0.9.0+1.32.0"
- "backupbot.backup=true"
- "backupbot.backup.path=/data"
- "coop-cloud.${STACK_NAME}.version=0.3.0+1.26.0"
volumes:
vaultwarden_data:
-1
View File
@@ -25,7 +25,6 @@ file_env() {
}
file_env "ADMIN_TOKEN"
file_env "SMTP_PASSWORD"
# upstream startup command
# https://github.com/dani-garcia/vaultwarden/blob/60ed5ff99d15dec0b82c85987f9a3e244b8bde91/docker/Dockerfile.j2#L254