Removed backup temporarily and added Vaultwarden :)
This commit is contained in:
1 parent
7db528d39b
commit
86cb97d0bb
2 files changed
+13
-25
No files matched your search
+1
-8
@@ -4,14 +4,7 @@ DOMAIN_NAME=example.com
|
|||||||
# Subdomain Information (DO NOT EDIT AFTER RUNNING ONCE)
|
# Subdomain Information (DO NOT EDIT AFTER RUNNING ONCE)
|
||||||
WEBMAIL_SUBDOMAIN=mail
|
WEBMAIL_SUBDOMAIN=mail
|
||||||
MAIL_SUBDOMAIN=mx
|
MAIL_SUBDOMAIN=mx
|
||||||
|
PWD_SUBDOMAIN=pwd
|
||||||
# Compose Profiles (only backup-enabled exists)
|
|
||||||
COMPOSE_PROFILES=
|
|
||||||
|
|
||||||
# Restic Config (Only fill out if enabling backups)
|
|
||||||
RESTIC_REPOSITORY=""
|
|
||||||
RESTIC_PASSWORD=""
|
|
||||||
RESTIC_HOSTNAME=""
|
|
||||||
|
|
||||||
# Secret Keys
|
# Secret Keys
|
||||||
# These should be generated with `openssl rand -base64 32`.
|
# These should be generated with `openssl rand -base64 32`.
|
||||||
|
|||||||
+12
-17
@@ -51,6 +51,17 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxy-net
|
- proxy-net
|
||||||
|
|
||||||
|
pass_manager:
|
||||||
|
image: vaultwarden/server:latest
|
||||||
|
container_name: pass_manager
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- DOMAIN=https://${PWD_SUBDOMAIN}.${DOMAIN_NAME}
|
||||||
|
volumes:
|
||||||
|
- vw-data:/data/
|
||||||
|
networks:
|
||||||
|
- proxy-net
|
||||||
|
|
||||||
cert_sync:
|
cert_sync:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
container_name: cert_sync
|
container_name: cert_sync
|
||||||
@@ -63,23 +74,6 @@ services:
|
|||||||
- ./service_data/cert_sync:/data
|
- ./service_data/cert_sync:/data
|
||||||
command: sh /data/sync-certs.sh
|
command: sh /data/sync-certs.sh
|
||||||
|
|
||||||
backup:
|
|
||||||
image: mazzolino/restic
|
|
||||||
container_name: backup
|
|
||||||
restart: unless-stopped
|
|
||||||
hostname: ${RESTIC_HOSTNAME}
|
|
||||||
profiles:
|
|
||||||
- backup-enabled
|
|
||||||
environment:
|
|
||||||
- BACKUP_CRON="0 2 * * *"
|
|
||||||
- RUN_ON_STARTUP=true
|
|
||||||
- RESTIC_REPOSITORY=${RESTIC_REPOSITORY}
|
|
||||||
- RESTIC_PASSWORD=${RESTIC_PASSWORD}
|
|
||||||
- RESTIC_FORGET_ARGS=--keep-last 7 --keep-daily 7 --keep-weekly 4 --prune
|
|
||||||
volumes:
|
|
||||||
- ~/.ssh:/run/secrets/.ssh:ro
|
|
||||||
- /var/lib/docker/volumes:/data/volumes:ro
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
stalwart-etc:
|
stalwart-etc:
|
||||||
stalwart-data:
|
stalwart-data:
|
||||||
@@ -87,6 +81,7 @@ volumes:
|
|||||||
caddy-data:
|
caddy-data:
|
||||||
bulwark-config:
|
bulwark-config:
|
||||||
bulwark-state:
|
bulwark-state:
|
||||||
|
vw-data:
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in new issue
Block a user