From c8b7dd7be9fbf38261d74ea44afda89b531b3a1c Mon Sep 17 00:00:00 2001 From: Davide Date: Sat, 28 Sep 2024 12:46:22 +0200 Subject: [PATCH] Removed vaultwarden folder as it needs a full revamp --- vaultwarden/.env.template | 9 ---- vaultwarden/docker-compose.yml | 78 ---------------------------------- 2 files changed, 87 deletions(-) delete mode 100644 vaultwarden/.env.template delete mode 100644 vaultwarden/docker-compose.yml diff --git a/vaultwarden/.env.template b/vaultwarden/.env.template deleted file mode 100644 index 7902a7d..0000000 --- a/vaultwarden/.env.template +++ /dev/null @@ -1,9 +0,0 @@ -COMPOSE_PROJECT_NAME=vaultwarden -TOKEN="YOUR_TOKEN_HERE" -EXPOSED_PORT=8080 -NDOMAIN="warden.domain.tld" -VDOMAIN="https://warden.domain.tld" -SFROM="mail@domain.tld" -SFROMNAME="Your Name" -SUSER="" # User login for Protonmail Bridge -SPASS="" # Password of the user (retrieved from inside the Protonmail Bridge container) diff --git a/vaultwarden/docker-compose.yml b/vaultwarden/docker-compose.yml deleted file mode 100644 index bd8e93d..0000000 --- a/vaultwarden/docker-compose.yml +++ /dev/null @@ -1,78 +0,0 @@ -x-logging: - &default-logging - driver: syslog - options: - # This requires two files in /etc/rsyslog.d - # https://www.loggly.com/use-cases/docker-syslog-logging-and-troubleshooting/ - tag: "container_name/{{.Name}}" - labels: "${hostname}" - syslog-facility: # cron, local7, etc. - -# Can be removed if not needed -x-opt-values: - &volume-opt - driver_opts: &options - type: "nfs" - o: "addr=${IP},rw" - -services: - vaultwarden: - image: vaultwarden/server:latest - container_name: vaultwarden - restart: always - environment: - ADMIN_TOKEN: ${TOKEN} # Set token if you want the admin page available - ROCKET_PORT: ${EXPOSED_PORT} - VIRTUAL_PORT: ${EXPOSED_PORT} # Used by nginx-proxy - VIRTUAL_HOST: ${NDOMAIN} # Used by nginx-proxy - LETSENCRYPT_HOST: ${NDOMAIN} - DOMAIN: ${VDOMAIN} # Used by vaultwarden to set certain links - WEBSOCKET_ENABLED: "true" - SIGNUPS_ALLOWED: "false" # Change to true if it's the first time running - # Optional environment, but useful if you want some functions - SMTP_HOST: "${protonmail-container-name}" - SMTP_FROM: ${SFROM} - SMTP_FROM_NAME: ${SFROMNAME} - SMTP_PORT: "25" # Default SMTP port for Protonmail Bridge - SMTP_USERNAME: ${SUSER} - SMTP_PASSWORD: ${SPASS} - SMTP_ACCEPT_INVALID_CERTS: "true" # Necessary when using Protonmail Bridge - volumes: - - vw-data:/data - networks: - - reverse-proxy - - vaultwarden - - protonmail - - vaultwarden-backup: - image: bruceforce/vaultwarden-backup - container_name: vaultwarden-backup - restart: always - environment: - TIMESTAMP: "true" - UID: ${UID} - GID: ${GID} - BACKUP_DIR: ${BACKUP_DIR} - DELETE_AFTER: "30" - CRON_TIME: "0 2 * * *" - volumes: - - vw-data:/data - - backup:/backup - -volumes: - vw-data: - # This stores the backup on a (possibly) remote server - backup: - <<: *volume-opt - driver_opts: - <<: *options - device: ":/mnt/path/vaultwarden/backup" - -networks: - reverse-proxy: - name: rp_reverse-proxy - external: true - vaultwarden: - protonmail: - name: pmb_protonmail - external: true