Created
January 6, 2022 23:46
-
-
Save instantdreams/5ea4ceae5e4a034525a35f6633445345 to your computer and use it in GitHub Desktop.
Example .env file for NPM backup and restore scripts - use cp .env.example .env and then edit to match your system settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script location : /srv/bin/config.sh | |
npm_db_name=[npm database container name] # Usually nginx-proxy-manager_db_1 | |
mysql_user=[mysql username] # Usually npm | |
mysql_pass=[mysql password] # Usually npm and set in /srv/nginx-proxy-manager/.env.example | |
mysql_db=[mysql database] # Usually npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment