Commit Graph

66 Commits (236841a1d73a1b67541537f0017856848ad43b79)

Author SHA1 Message Date
Chocobozzz 8043befa38
Remove references to peertube-admin mailing list 2020-12-15 16:29:24 +01:00
kontrollanten fffc7c0864
add info about hostname change (#3434)
Co-authored-by: Rigel Kent <par@rigelk.eu>
2020-12-11 23:48:48 +01:00
Rigel Kent 11c449eb1e
remove nginx fd caching, add module requirements 2020-11-18 08:15:55 +01:00
Rigel Kent 1a9b141d83
Add nginx behind traefik in docker-compose + image updates
- support/docker/production/docker-compose.yml: addition of a nginx
image reusing support/nginx/peertube nginx conf to improve performance,
and lessen setup differences between the docker-compose install and the
typical production install.
- support/docker/production/docker-compose.yml: postgres 10 -> postgres
12, redis 4 -> redis 5. Postgres major updates implies manual upgrade.
- support/nginx/peertube: HTTP -> HTTPS redirection is now commented
by default, to allow its reuse in support/docker/production/docker-compose.yml.
2020-11-11 16:45:46 +01:00
Steffen Möller 4d582cec7f
production.md - typo (#3169)
* production.md - typo

* production.md: URL update to https://instances.joinpeertube.org

In reaction to comment in pull request.
2020-09-21 14:13:12 +02:00
Chocobozzz 96df6ca606
Clearer install guide for service 2020-08-26 08:31:20 +02:00
Chocobozzz 2c92b0634f
Fix certbot section 2020-08-14 14:59:15 +02:00
Chocobozzz 0539dba824
Force utf8 when creating the database 2020-01-29 11:48:19 +01:00
ManMade-cube42 7a3864e818 Replace `peertube.example.com` with user's Peertube domain. (#2356)
* Add Sed

* Update production.md

* Minor Fix (+ add sudo)

* Update production.md
2019-12-30 10:39:59 +01:00
Wirebrass 67ac918df9 Add/update OpenRC service script (#2012)
* Update APP_DIR and CONFIG_DIR

APP_DIR is now in /var/www/peertube/peertube-latest (symbolic link).
CONFIG_DIR is now in /var/www/peertube/config

* Add OpenRC service script

Tested on Gentoo Linux.
2019-08-13 09:22:54 +02:00
Axel Viala 3daaa19274 Add way to set root password by environment.
Add a condition test to pass by environment a predetermined
root password for setting up.
2019-05-16 09:17:10 +02:00
Chocobozzz d06caf3e67
Add CLI tools doc link in production.md 2019-02-21 15:02:35 +01:00
Mateusz Piotrowski 31d45e0e0b Improve FreeBSD setup instructions
Use install(1) instead of cp(1) and chmod(1) to install
the service file. Also, use sysrc(8) to enable the PeerTube
service in rc.conf(5).
2018-11-21 10:46:56 +01:00
Micah Elizabeth Scott f74c294a0d Suggest TCP/IP tuning to prevent buffer bloat + latency (#976)
* Suggest TCP/IP CoDel and BBR congestion control in production guide

This seems to be helping lots on my server, where the default
(Debian 9) was to use FIFO queueing which would cause buffer bloat
and huge latency for clients on slower network links.
2018-08-28 09:29:29 +02:00
Chocobozzz 65fcf1e9c2
Reduce FreeBSD title size 2018-08-21 10:48:57 +02:00
Josh Morel 43c4c63937 fix pg_restore command for post-migrations
also avoid peertube db login for pg_dump command
2018-07-30 16:38:31 +02:00
Chocobozzz 76dd3e89ae
Improve production warning 2018-07-24 18:03:38 +02:00
Chocobozzz 57c36b277e Begin advanced search 2018-07-24 14:04:05 +02:00
Rigel Kent d4557fd3ec
Correcting documentation to be more precise about CentOS 7 2018-07-16 11:10:48 +02:00
Pierre-Alain TORET 80d7cf3a15 Update doc for CentOS 7 devtoolset-7
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-18 10:02:11 +02:00
Chocobozzz b314f983f0
Add note in upgrade guide for nginx/systemd 2018-06-14 09:42:03 +02:00
Kody fbd2ad19b6 Update sudo command for yarn during upgrade 2018-06-07 15:08:43 +02:00
Chocobozzz 87529dbfdf
Improve production guide format 2018-05-29 09:36:14 +02:00
David Libeau cfdd9eb4b0 Update production.md 2018-05-29 09:34:15 +02:00
Chocobozzz b4d1af3dd8
Bold dependencies part in production guide 2018-04-24 15:00:30 +02:00
Chocobozzz 9c758359c0
Add what now section to production guide 2018-04-06 10:36:21 +02:00
Luc Didry 4246247fd6 Add precision on upgrade script (#433) 2018-03-29 14:27:55 +02:00
Gérald Niel 4c86a254a5 Mise à jour documentation pour FreeBSD 2018-03-27 19:14:31 +02:00
Okhin 193b12bf8f Add the activation of a needed SCL for CentOS
There's a need to activate the devtool-6 SCL before running the yarn install command, to have node-gyp correctly compiling the needed binaries.
2018-03-24 21:17:29 +01:00
Chocobozzz 30f550251d
Add information about the definitive peertube domaine name 2018-03-21 10:57:45 +01:00
Chocobozzz 07aa93a8f2
Reformat production guide 2018-03-20 08:28:20 +01:00
Gérald Niel 6d55bd21a9 Add FreeBSD startup 2018-03-19 22:48:15 +01:00
Chocobozzz 2e3a0215d0
Add short description in config 2018-03-15 14:34:47 +01:00
Chocobozzz 66c3b7744c
Add example for "small device" in production guide 2018-03-13 09:40:39 +01:00
Chocobozzz e6607b2512
Upgrade production guide for nginx 2018-03-01 16:12:00 +01:00
SVNET Libre a640b861b9 Update Production Guide (#309)
* Update Production Guide

Pull Request #308

* change the execution of the script
2018-02-21 17:05:21 +01:00
LecygneNoir 2519d9fec6 add import-youtube guide inside documentation (#298)
* add import-youtube guide inside documentation

* safer to use unlink instead of rm to delete symbolic link, avoid risk of deleting entire directories in case of syntax error

* spelling mistake corrections

* anonymise URLs

* git also needed as dependencies to run yarn install
2018-02-19 09:42:43 +01:00
Chocobozzz 0b49571268
Try to improve production guide 2018-02-16 11:04:12 +01:00
Chocobozzz a8b5ce95f5
Better upgrade script consistency 2018-02-14 16:03:09 +01:00
Rigel Kent e883399fa6 Precisions and security enhancements to the production guide (#287)
- added precisions and suggestions about how to generate Let's Encrypt certificates. Users have reported their installations didn't work when the problem came from missing certificates (false positives).
- security defaults of Nginx follow the basic robustness principle "be conservative in what you send, be liberal in what you accept", which isn't enough with modern security standards, so we should be picky with the cipher suites we use, among other things. Extra comments (especially for the TLS1.3 protocol support parameter) make the requirement of a recent Nginx installation obvious, and the downgrade alternative remains clear to the system administrator.

All in all, we should aknowledge users will most often copy and paste the configuration files. Making them secure by default may force a few users to read their configuration, but on the long run we are making the fediverse more secure.

Since I've come to modify a bit the Nginx config in `support/doc/production.md`, I've merged it with the template so that they stay consistent.
2018-02-14 11:11:49 +01:00
SVNET Libre 1007a0185f Update Guide for upgrade procedure (#281) (#291) 2018-02-14 11:03:39 +01:00
Chocobozzz 1185c246c5
Add warning in production guide 2018-02-09 13:38:19 +01:00
Chocobozzz f529f9835e
Fix "things went wrong" documentation 2018-02-08 09:52:57 +01:00
Valvin 09c93c2031 update yarn installation command (#267)
on ubuntu `sudo -u` doesn't set homedirectory of the targeted user althought debian does. it requires the option `-H`. I think with this option it works in both case.
2018-02-01 08:55:17 +01:00
Chocobozzz 4805cff179
Fix migrations 2018-01-29 11:58:07 +01:00
Chocobozzz 4df6a1b8e1
Move docker do in support/doc 2018-01-29 11:23:38 +01:00
kaiyou e8395f027b Add production Alpine and Debian Stretch Docker images (#225)
* First pass at a (swarm-compatible) docker image

Uses an existing traefik server as a https reverse proxy.

* Add example config for a Docker swarm deployment

* Point to traefik config for docker compose setup

* Clarify that traefik is needed for the example config

* Use node:8-stretch base image and don't install yarn

(The base image already contains yarn.)

* Initial commit for an Alpine Docker image

* Fix docker volume path

* Merge #213 and #225 and move files around

* Remove unnecessary dependencies from the alpine build

* Update Dockerfiles to match install path, config path, etc.

* Update the configuration in the example compose file

* Update the configuration in the example swarm file

* Remove the declared networks and volumes from the compose example, which are not strictly required

* Update attachment path in the documentation

* Display traefik as a suggestion and not a required dependency

* Update the Docker ignored files

* Fix typos reported in #225

* Move production Dockerfiles to a production directory

* Add the redis configuration settings

* Add Docker files to the dockerignore

* Make the signup limit configurable
2018-01-29 08:52:20 +01:00
Chocobozzz ce487e1e3b
Upgrade clearer in production guide 2018-01-26 10:50:05 +01:00
Thomas Citharel 15dbc134bd typos (#246)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-25 08:13:19 +01:00
Chocobozzz 59c48d49c5
Peertube home in /var/www instead of /home 2018-01-23 09:00:23 +01:00