diff options
author | Axel Viala <axel.viala@darnuria.eu> | 2019-05-15 00:18:48 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-05-16 09:17:10 +0200 |
commit | 3daaa1927474869f8dbaddd6b94b4c071e314e10 (patch) | |
tree | ba754d4eacda93e3e3e573b0c3e0a1b7e680114e /support | |
parent | 11b3f14c758e57f9cb5f32d8140fa043094bb3d7 (diff) | |
download | PeerTube-3daaa1927474869f8dbaddd6b94b4c071e314e10.tar.gz PeerTube-3daaa1927474869f8dbaddd6b94b4c071e314e10.tar.zst PeerTube-3daaa1927474869f8dbaddd6b94b4c071e314e10.zip |
Add way to set root password by environment.
Add a condition test to pass by environment a predetermined
root password for setting up.
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/production.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index 2eba6e6a3..4f20cf140 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -204,6 +204,9 @@ logs. You can set another password with: | |||
204 | $ cd /var/www/peertube/peertube-latest && NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u root | 204 | $ cd /var/www/peertube/peertube-latest && NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u root |
205 | ``` | 205 | ``` |
206 | 206 | ||
207 | Alternatively you can set the environment variable `PT_INITIAL_ROOT_PASSWORD`, | ||
208 | to your own administrator password, although it must be 6 characters or more. | ||
209 | |||
207 | ### What now? | 210 | ### What now? |
208 | 211 | ||
209 | Now your instance is up you can: | 212 | Now your instance is up you can: |