Failing to install NodeBB in a Docker (Traefik)
I get as far as the : docker compose exec nodebb ./nodebb setup step.
Other container with mongodb is up and running fine...
Whatever I do I keep getting the below message :
This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed.
Press enter to accept the default setting (shown in brackets).
2025-12-07T14:29:36.314Z [7] - info: [install/checkSetupFlagEnv] checking env vars for setup info...
2025-12-07T14:29:36.315Z [7] - error: [install/checkSetupFlagEnv] required values are missing for automated setup:
2025-12-07T14:29:36.315Z [7] - error: admin:username
2025-12-07T14:29:36.315Z [7] - error: admin:password
2025-12-07T14:29:36.316Z [7] - error: admin:password:confirm
2025-12-07T14:29:36.316Z [7] - error: admin:email
I tried :
- setting env variables in Docker Compose file
- copying config.json file in the DockerFile
All gets to this error. Why ? ;-(