Bubka / 2FAuth

A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
https://docs.2fauth.app/
GNU Affero General Public License v3.0
2.12k stars 142 forks source link

Mail Password Format #310

Closed heliohenriques closed 6 months ago

heliohenriques commented 7 months ago

Version

v5.0.4

Details & Steps to reproduce

Error when starting docker-compose, because of the Mail_Password format. I'm using a complex password, with 25 Letters, numbers and special characters. Using smaller password it works.

_ERROR: Invalid interpolation format for "environment" option in service "2fauth": "MAILPASSWORD=PassordWithLettersNumbersAndSpecialCharacters25Long"

Expectation

Allow complex passwords

Error & Logs

No logs found related with this error.

Execution environment

No response

Containerization

Additional information

No response

Bubka commented 6 months ago

Hi,

the ERROR: Invalid interpolation format for [...] is a docker-compose error. You probably have a dollar sign in your pwd, or any other special char that needs to be escaped. See https://stackoverflow.com/questions/40619582/how-can-i-escape-a-dollar-sign-in-a-docker-compose-file