Commit Graph

364 Commits (1f82e3e88550ea73043a17e7236d4fcfe3a49d28)

Author SHA1 Message Date
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
kaiyou 6500a90cfe Expose SMTP and instance settings in the Docker environment variables (#277) 2018-02-06 08:37:36 +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 7859b5800c
Add message for public registration on peertube 2018-01-26 14:14:59 +01:00
Chocobozzz ce487e1e3b
Upgrade clearer in production guide 2018-01-26 10:50:05 +01:00
Chocobozzz 94a5ff8a4a
Move job queue to redis
We'll use it as cache in the future.

/!\ You'll loose your old jobs (pending jobs too) so upgrade only when
you don't have pending job anymore.
2018-01-25 18:41:17 +01:00
Dimitri Gilbert c360c49456 Api doc improvement (#252)
* 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
2018-01-25 18:39:51 +01:00
Jan Keromnes 897cab462b Pre-build PeerTube again in dev Dockerfile.
PeerTube pre-build was removed in #207 but is still valuable.
2018-01-25 14:48:06 +01:00
Benjamin Bouvier a585af352c Fixes #205: Fix Janitor configuration; 2018-01-25 11:13:07 +01:00
Thomas Citharel 15dbc134bd typos (#246)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-25 08:13:19 +01:00
luzpaz 2bb0f9d501 Misc. typos (#245)
Found via `codespell -q 3`
2018-01-25 08:12:42 +01:00
Chocobozzz 5e1c08eb94
Add api doc in html 2018-01-24 11:54:32 +01:00
Chocobozzz 9ee83eb99e
Fix tests 2018-01-24 11:03:13 +01:00
Chocobozzz 59c48d49c5
Peertube home in /var/www instead of /home 2018-01-23 09:00:23 +01:00
Thomas Citharel e5203ffa12 Improve docs (#232)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-23 08:53:15 +01:00
Chocobozzz 451ce9642c
Add commander in dependencies instead of dev dep 2018-01-22 09:42:42 +01:00
Chocobozzz 23e27dd535
Add ability to configure log level 2018-01-19 13:58:13 +01:00
Chocobozzz c7a9f34f72
Add SQL backup/restore commands in production guide 2018-01-19 10:30:35 +01:00
Chocobozzz 2e866cc75d
Don't serve previews with nginx
We need to maintain a cache in the node process
2018-01-18 18:45:27 +01:00
Chocobozzz 5668bf2e51
nginx optimizations 2018-01-18 17:45:49 +01:00
taziden 9625507fec fix 2 other typos (#209) 2018-01-17 11:47:45 +01:00
taziden a5c57bf33e fix typo in production guide (#208) 2018-01-17 11:34:26 +01:00
Chocobozzz fd206f0b2d
Add ability to update some configuration keys 2018-01-17 10:41:27 +01:00
Jan Keromnes b270ad07f1 Add Janitor configuration file for PeerTube. (#204) 2018-01-16 16:46:04 +01:00
Chocobozzz e28d531fc5
Overwrite on upgrade when unziping 2018-01-16 09:32:29 +01:00
Chocobozzz 48cf691d5e
Fix upgrade command 2018-01-16 08:53:01 +01:00
Chocobozzz 2d13b29965
Remove npm run upgrade
Use command from production.md instead
2018-01-15 18:23:17 +01:00
Chocobozzz d2000ca6e7
Update production guide
Use release that already contains build files. It requires a specific
directories tree but I think it would be fine.
2018-01-15 18:07:08 +01:00
Chocobozzz 6b2ef589ed
Prepare production workflow 2018-01-15 11:28:41 +01:00
Chocobozzz 304016c52b
Update code doc diagrams 2018-01-15 09:47:19 +01:00
Chocobozzz afe8176799
Some markdown fixes 2018-01-12 18:55:45 +01:00
Chocobozzz 63bfad7ec9
Try to improve documentations/readme 2018-01-12 18:07:41 +01:00
Chocobozzz 339632b4a3
Fix changing video in watch page 2018-01-12 17:17:45 +01:00
Chocobozzz 85cd9bde5a
Remove unused webserver configuration
And update nginx configuration with a rate limit
2018-01-11 10:46:49 +01:00
Fernandez, ReK2 99eff32c00 change nginx config to fix deprecation of a old module (#175) 2018-01-06 18:07:52 +01:00
Jan Keromnes 492fd28167 Add a PeerTube development environment Dockerfile compatible with Janitor. (#144)
* Add a PeerTube development environment Dockerfile.

* Clone from develop instead of master in developer Dockerfile.
2017-12-04 10:58:02 +01:00
Julien Lemaire 8b99b0c1d9 Fix webpack link in client documentation (#129)
Webpack link used to lead to webpack 1 documentation.
Fixed it to reach lastest documentation instead.
2017-11-28 18:05:08 +01:00
Chocobozzz a2431b7dcb
Refractor validators 2017-11-27 19:43:01 +01:00
Chocobozzz fcaf1e0aa8
Update readme, architecture 2017-11-27 19:43:01 +01:00
Chocobozzz 7e9334c34d
Add ability to unfollow a server 2017-11-27 19:40:52 +01:00
Chocobozzz b9a20e5947
Fix nginx https template 2017-10-19 17:42:39 +02:00
Chocobozzz aa83bcce54
Increase client_max_body_size in NGinx template 2017-10-17 11:46:07 +02:00
Chocobozzz 9e58005439 Update systemd service template 2017-06-20 20:34:41 +02:00
Chocobozzz ed5f91633d Update readme/doc with new client port for dev 2017-06-14 21:37:49 +02:00
Chocobozzz 66dd264f7b Better build/dev scripts 2017-06-11 11:36:05 +02:00
Chocobozzz 69f616ab3a Use shared models 2017-06-11 11:02:35 +02:00
dada a556b0769b Update peertube.conf 2017-02-18 18:19:06 +01:00
Chocobozzz 7e6afafd6a Update support documentations with postgresql 2016-12-25 09:53:50 +01:00
Chocobozzz 35a12fee2f Add client documentation 2016-12-01 22:16:38 +01:00
Chocobozzz c97eea23d7 Add peertube https nginx template 2016-11-25 14:21:41 +01:00
Chocobozzz 5e9acecaeb Update NGinx template (uploads -> videos) 2016-10-26 20:28:34 +02:00
dada 9da2ec0de6 Timeout / rm diaspote ref 2016-10-26 19:15:49 +02:00
dada 2ace56f8c3 Apache configuration 2016-10-26 18:46:11 +02:00
Chocobozzz 1f0f84c27e Update NGinx that bypass /static/webseed (better performances) 2016-10-10 21:21:19 +02:00
Chocobozzz 82e624233f Update documentations now we use webseed instead of electron/webrtc 2016-10-07 11:01:28 +02:00
Bigard Florian f24c4e4462 Server code documentation typo 2016-07-27 15:34:50 +02:00
Chocobozzz f018f38e0d Typos 2016-07-22 11:53:55 +02:00
Chocobozzz 00ffc03ece Server: begin a server documentation 2016-07-22 11:44:46 +02:00
Chocobozzz 4688925411 Add systemd file example 2016-06-03 15:58:04 +02:00
Chocobozzz 5d4e941100 Add nginx example file 2016-06-03 15:56:40 +02:00