First commit for protonmail-bridge

This commit is contained in:
Davide Oddone 2023-03-01 10:58:41 +01:00
parent db80c21d43
commit a837eaf6aa
3 changed files with 35 additions and 0 deletions

1
pmb/.env.template Normal file
View File

@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=pmb

1
pmb/README.md Normal file
View File

@ -0,0 +1 @@

33
pmb/docker-compose.yml Normal file
View File

@ -0,0 +1,33 @@
x-logging:
&default-logging
driver: local
options:
max-size: "1m"
max-file: "50"
x-opt-values:
&volume-opt
driver_opts: &options
type: "nfs"
o: "addr=${IP},rw"
services:
protonmail-bridge:
image: shenxn/protonmail-bridge
container_name: protonmail-bridge
restart: always
volumes:
- protonmail:/root
networks:
- protonmail
logging: *default-logging
volumes:
protonmail:
<<: *volume-opt
driver_opts:
<<: *options
device: ":/mnt/path/protonmail/protonmail"
networks:
protonmail: