Compare commits

...

2 Commits

Author SHA1 Message Date
ad3f8bc031 Modified .gitignore
The previous gitignore would also add service.env files, not supposed
to be in the repository, only *.template files.
2023-03-01 20:54:50 +01:00
a837eaf6aa First commit for protonmail-bridge 2023-03-01 10:58:41 +01:00
4 changed files with 36 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
/**/.env
/**/*.env
/**/*.txt

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: