pierrecdn / phpipam

phpIPAM Docker image
GNU Lesser General Public License v3.0
94 stars 111 forks source link

How to enable google 2FA with this image? #69

Closed yurividal closed 2 years ago

yurividal commented 3 years ago

Is it possible? "I get GoogleAuthenticator submodule missing." error

pierrecdn commented 3 years ago

This is due to the way phpipam is packaging the project. They tend to use git submodules to distribute some parts of the software, so probably an improvement here would be to switch from fetching the tgz release to a git --recurse-submodules method instead.

yurividal commented 3 years ago

No problem mate. What i ended up doing was to mount the GoogleAuthenticator and qrcode submodule folders as persistent storages and add the code for each of these 2 inside the storages. Works for now.

pierrecdn commented 2 years ago

Hi, closing for now. If you have any idea on how to integrate this within the build, I'm open to PRs! ;).