For initialization via unraid docker compose, make sure to run the container and run a unraid terminal to kill the protonmail-bridge process, so you can initialize the pass.

Run the following commands in the unraid terminal:

docker exec protonmail-bridge-v2 ps aux
docker exec protonmail-bridge-v2 kill -9 <PID>
docker exec protonmail-bridge-v2 /bin/bash /protonmail/entrypoint.sh init

The key should be generated. After that you should see an ASCII-Art bridge.
Enter "login" to start the authentication process. If you have 2FA enabled, it should be requested after the password.


If any adjustments need to be made on the account settings, repeat the process, but instead of running `/bin/bash /protonmail/entrypoint.sh init`, you run `protonmail-bridge --cli``.