aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorAxel Viala <axel.viala@darnuria.eu>2019-05-15 00:18:48 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-05-16 09:17:10 +0200
commit3daaa1927474869f8dbaddd6b94b4c071e314e10 (patch)
treeba754d4eacda93e3e3e573b0c3e0a1b7e680114e /support/doc
parent11b3f14c758e57f9cb5f32d8140fa043094bb3d7 (diff)
downloadPeerTube-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/doc')
-rw-r--r--support/doc/production.md3
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
207Alternatively you can set the environment variable `PT_INITIAL_ROOT_PASSWORD`,
208to your own administrator password, although it must be 6 characters or more.
209
207### What now? 210### What now?
208 211
209Now your instance is up you can: 212Now your instance is up you can: