2023-05-20 19:48:18 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
protonmail-bridge:
|
|
|
|
image: shenxn/protonmail-bridge
|
|
|
|
restart: always
|
|
|
|
container_name: protonmail-bridge
|
|
|
|
networks:
|
|
|
|
- protonmail
|
|
|
|
volumes:
|
|
|
|
- protonmail:/root
|
|
|
|
|
2023-05-20 21:02:57 +02:00
|
|
|
# BACKUP
|
2023-05-20 19:48:18 +02:00
|
|
|
backup_protonmail:
|
|
|
|
image: offen/docker-volume-backup:latest
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
BACKUP_CRON_EXPRESSION: "{{ server.backup.cron_expression }}"
|
|
|
|
BACKUP_FILENAME: "{{ server.backup.filename_date_format }}-protonmail.tar.gz"
|
|
|
|
BACKUP_LATEST_SYMLINK: protonmail.latest.tar.gz
|
|
|
|
BACKUP_EXCLUDE_REGEXP: "\\.log$$"
|
|
|
|
BACKUP_RETENTION_DAYS: "{{ server.backup.retention_days }}"
|
|
|
|
volumes:
|
|
|
|
- protonmail:/backup:ro
|
|
|
|
- {{ server.backup.folder }}/protonmail:/archive
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
protonmail:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
protonmail:
|
|
|
|
external: true
|