Commit Graph

116 Commits (abf1c5858e0579ab2ebce0fd67064c54ef3ae990)

Author SHA1 Message Date
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
Okhin 0414ed1066 Improving the CentOS7 specific parts
Changing the link  for ffmpeg toward a tutorial with an actual mirror of ffmpeg, and with less hassle.
Adding the deendencies to devtoolset-6 and centos-release-scl to provide a C++11 compatible G++
2018-03-24 21:17:29 +01:00
Angristan 03ae9d887a Add permissions instructions for the data volume (#387)
* Add permissions instructions for the data volume

* Remove useless newline
2018-03-23 14:34:01 +01:00
Angristan c7574e8661 Run the installation as the peertube user inside the Docker image (#385)
* Run the installation as the peertube user

* Run the installation as the peertube user
2018-03-23 14:33:51 +01:00
Chocobozzz 95540ed23a
Prepare building docker files on docker hub 2018-03-23 11:22:26 +01:00
Angristan 95981f6bec Fix data volume path in docker-compose 2018-03-22 18:00:25 +01:00
Chocobozzz bebf2d89d3
Add option to disable starttls 2018-03-22 16:12:52 +01:00
Angristan 0c49373af9 Use {postgres,redis}:alpine images with docker-compose (#372)
* Specify Redis major version
2018-03-22 14:08:55 +01:00
Chocobozzz 05e67d6206
Add logging for emails 2018-03-22 11:47:26 +01:00
Chocobozzz 30f550251d
Add information about the definitive peertube domaine name 2018-03-21 10:57:45 +01:00
Chocobozzz 051bf3f773
Revert "Selective route permission to use embeds, fixes #322 in a better way (#364)" (#365)
This reverts commit d40cd86bf5.
2018-03-20 17:39:36 +01:00
Rigel Kent d40cd86bf5 Selective route permission to use embeds, fixes #322 in a better way (#364) 2018-03-20 17:28:41 +01:00
Chocobozzz 164e6c8778
Prepare beta 2018-03-20 10:32:54 +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
Gérald Niel d29e239cc4 Add FreeBSD rc script 2018-03-19 17:19:39 +01:00
Chocobozzz 5d00a3d7aa
Update the api documentation 2018-03-19 14:20:04 +01:00
Benjamin Bouvier 3b2ed89181 [docker] Add short_description option in Docker configuration too; (#342) 2018-03-15 16:02:23 +01:00
Chocobozzz 30274d67eb
Fix spelling in dependencies 2018-03-15 14:40:06 +01:00
Millicent Billette 955f14a44a ppa for ffmpeg in dependencies documentation (#340) 2018-03-15 14:39:27 +01:00
Benjamin Bouvier ef48a0d50a [docker] Update production guidelines and docker-compose file; (#341) 2018-03-15 14:39:04 +01:00
Chocobozzz 2e3a0215d0
Add short description in config 2018-03-15 14:34:47 +01:00
Andréas Livet 44a9a76e29 Update g++ needed version (#338)
In order to build properly rdf-canonize node nativ module gcc > 5 is needed. Tested on Ubuntu 14.04 with gcc 4.8, it didn't work. I had to install a newer gcc version and it was OK.
2018-03-14 12:49:58 +01:00
Chocobozzz 9940241328
Update documentations 2018-03-14 09:15:17 +01:00
Florian 93d1575311 fix first sudo command (#337) 2018-03-14 08:58:33 +01:00
Florian bc2fc1a783 adding some instructions for certbot and basic utility programs needed (#336) 2018-03-14 08:46:55 +01:00
Chocobozzz 66c3b7744c
Add example for "small device" in production guide 2018-03-13 09:40:39 +01:00
Chocobozzz 19a3b914f1
Change video abuse API response 2018-03-12 11:44:28 +01:00
Chocobozzz b64c950a1c
Update videos api list for account 2018-03-12 11:44:28 +01:00
Chocobozzz fec2ffc4a2
Better docker test doc 2018-03-11 09:57:25 +01:00
Millicent Billette 7f456189b7 `docker-compose up app` need a docker-compose.yml file in current folder to work. 2018-03-11 01:37:23 +01:00
Chocobozzz ea65a47623
Add api base path in documentation 2018-03-07 13:13:40 +01:00
Chocobozzz ab0ee6a14f
Upgrade api doc html file 2018-03-07 08:11:38 +01:00
Chocobozzz 635a5686e3
Fix tool documentation 2018-03-06 08:27:20 +01:00
Benjamin EWFT 4a31886e32 Update dependencies for Archlinux 2018-03-05 21:13:30 +01:00
Chocobozzz 358770dbbd
Refractor tools documentation 2018-03-05 10:00:15 +01:00
Chocobozzz ad34cfc8ac
Add documentation for upload script 2018-03-05 09:53:16 +01:00
Valvin 446f78d7b4 Remove X-Frame options in nginx config (#322)
`X-Frame-Options DENY;` doesn't permit sharing using iframe
2018-03-05 09:40:36 +01:00
Chocobozzz 4919b6304f
Fix nginx configuration that do not work with import-videos script 2018-03-01 17:14:57 +01:00
Chocobozzz e6607b2512
Upgrade production guide for nginx 2018-03-01 16:12:00 +01:00
Stefan Schüller 245dc51de0 Fixed import-videos filename (#311) 2018-02-25 10:22:22 +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
Chocobozzz 61b3e146e1
Add ability to import videos from all supported youtube-dl sites 2018-02-20 18:16:13 +01:00
Chocobozzz 07fa4c97ca
Add support to video support on client 2018-02-20 16:13:55 +01:00
Chocobozzz 35501c0fa7
Add ability to import just one video from youtube 2018-02-19 11:12:58 +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
Dimitri Gilbert 44cb3b85f8 Apidoc (#302)
* Basic api documentation

* fix styling issue

* fix styling issue

* gitignore unecessary folders

* openApi 2.0 first draft

* solved conflicts

* solved errors in openapi file

* added missing doc on video + deleted apidoc comments

* fix last warnings and errors inopenapi definition

* openapi fix typo + improvement on video/comment endpoints

* removed misplaced openapi file

* api documentation improvement
2018-02-17 19:24:56 +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