Skip to content

Conversation

DavidLievrouw
Copy link

For easier deployment, I need to change the default admin e-mail and password of [email protected] / changeme, to a unique combination.

Instead of having hard-coded default admin e-mail and password of [email protected] / changeme, allow environment variables INITIAL_ADMIN_EMAIL and INITIAL_ADMIN_PASSWORD to be specified. These are read during setupDefaultUser.

    environment:
      - [email protected]
      - INITIAL_ADMIN_PASSWORD=P@ssw0rd

When not specifying these environment variables, a fallback to the default behavior takes place.

@nginxproxymanagerci
Copy link

Docker Image for build 2 is available on DockerHub as jc21/nginx-proxy-manager:github-pr-3790

Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes.

@jc21 jc21 merged commit b330127 into NginxProxyManager:develop Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants