diff --git a/pmb/.env.template b/pmb/.env.template new file mode 100644 index 0000000..0347382 --- /dev/null +++ b/pmb/.env.template @@ -0,0 +1 @@ +COMPOSE_PROJECT_NAME=pmb diff --git a/pmb/README.md b/pmb/README.md new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/pmb/README.md @@ -0,0 +1 @@ + diff --git a/pmb/docker-compose.yml b/pmb/docker-compose.yml new file mode 100644 index 0000000..768a4cb --- /dev/null +++ b/pmb/docker-compose.yml @@ -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: