32 lines
797 B
Text
32 lines
797 B
Text
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
protonmail-bridge:
|
||
|
image: shenxn/protonmail-bridge
|
||
|
restart: always
|
||
|
container_name: protonmail-bridge
|
||
|
networks:
|
||
|
- protonmail
|
||
|
volumes:
|
||
|
- protonmail:/root
|
||
|
|
||
|
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
|