forked from coop-cloud/vaultwarden
Compare commits
17 Commits
0.3.0+1.26.0
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b0d701b0e8 | |||
| 7f60d33d21 | |||
| 57a40cfaa1 | |||
| 373db38548 | |||
| 4c50e82865 | |||
| 06c0d8ffd4 | |||
| 371fa36d15 | |||
| c3dbb3e4dd | |||
| 8ef06543d2 | |||
| c59446cca2 | |||
| 88210401bd | |||
| 94a6b11bc8 | |||
| e98ebf7440 | |||
| 16e12cd293 | |||
| d5ef9db98f | |||
| 03f734de7d | |||
| 28d0e9498b |
+1
-1
@@ -3,7 +3,7 @@ kind: pipeline
|
||||
name: deploy to swarm-test.autonomic.zone
|
||||
steps:
|
||||
- name: deployment
|
||||
image: decentral1se/stack-ssh-deploy:latest
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: vaultwarden
|
||||
|
||||
+7
-4
@@ -3,6 +3,8 @@ TYPE=vaultwarden
|
||||
DOMAIN=vaultwarden.example.com
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
||||
WEBSOCKET_ENABLED=true
|
||||
SIGNUPS_ALLOWED=true
|
||||
|
||||
@@ -13,11 +15,12 @@ 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=
|
||||
#SMTP_USERNAME=
|
||||
#SMTP_HOST=
|
||||
#SMTP_FROM=noreply@example.com
|
||||
#SMTP_USERNAME=noreply@example.com
|
||||
#SMTP_HOST=mail.example.com
|
||||
#SMTP_PORT=587
|
||||
#SMTP_SECURITY=starttls
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export APP_ENTRYPOINT_VERSION=v1
|
||||
export APP_ENTRYPOINT_VERSION=v2
|
||||
APP_DIR="app:/data"
|
||||
|
||||
_backup_app() {
|
||||
|
||||
+8
-8
@@ -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:
|
||||
|
||||
+4
-2
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: vaultwarden/server:1.26.0
|
||||
image: vaultwarden/server:1.32.0
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
@@ -39,7 +39,9 @@ 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.3.0+1.26.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.9.0+1.32.0"
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/data"
|
||||
|
||||
volumes:
|
||||
vaultwarden_data:
|
||||
|
||||
@@ -25,6 +25,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user