Commit Graph

173 Commits

Author SHA1 Message Date
Chocobozzz
fcff0ce69f Node 18 is not supported anymore
Use node 20 instead
2025-01-15 10:14:50 +01:00
Chocobozzz
51ff0d539b Fix dockerfile 2025-01-15 07:12:01 +01:00
Zack Birkenbuel
c31084ce5b Add the ability to specify peertube UID and GID via environment variables
This adds support for specifying the peertube user and group IDs using the standard environment variable pattern similar to linuxserver.io images.  This allows for better external permission management, specifically this makes it easier to support mapping volumes to NFS shares using nfs4 id mapping.

This changes elects *not* to use the linuxserver.io variable names of PUID and PGID since the peertube container ends up having both a "node" and "peertube" user created and it would not be obvious which of those PUID/PGID should apply to.
2025-01-14 13:54:00 +01:00
Chocobozzz
c714d0a69a Add RTMPS port 2025-01-09 10:58:31 +01:00
Chocobozzz
e0f39d7995 Fix docker compose ipv6 2024-10-31 07:07:28 +01:00
Chocobozzz
f4339cfb72 Fix private ipv6 address 2024-10-23 09:21:50 +02:00
Chocobozzz
f6c23ad7d8 Fix building peertube in docker compose 2024-10-21 11:03:23 +02:00
Chocobozzz
373a9265ba Fix missing original_video_files docker directory 2024-09-18 09:27:02 +02:00
Chocobozzz
ccfd57e349 Fix ipv6 in docker compose 2024-09-10 10:06:48 +02:00
Jonathan Weth
fbabfde819 Add option for configuring object_storage.max_request_attempts in Docker 2024-08-12 06:37:10 +02:00
Chocobozzz
25d2580f47 Try to fix docker build 2024-07-05 15:19:33 +02:00
Chocobozzz
dcfd83350a Faster CI docker build 2024-07-01 10:50:29 +02:00
Chocobozzz
6b2f2417d5 Trigger gitpod rebuild
To update nodejs version
2024-07-01 08:48:59 +02:00
Chocobozzz
4177ed98ea Remove obsolete version from docker compose 2024-06-12 10:58:07 +02:00
Chocobozzz
21f4ed5c33 Add missing docker env for object storage 2024-05-16 11:06:18 +02:00
Chocobozzz
ee6844d718 Fix web videos directory important notes 2023-11-29 08:10:26 +01:00
fuomag9
1e3fd73cdf Inform the user to remove assets:/app/client/dist if not using the webserver container 2023-11-17 14:23:31 +01:00
Chocobozzz
b1fc5a9cb4 Add log level example in docker .env 2023-11-06 08:59:38 +01:00
Chocobozzz
678ae8abbd Breaking: only support node 18
Node 16 is not supported anymore

See https://nodejs.org/fr/blog/announcements/nodejs16-eol
2023-10-11 13:59:24 +02:00
Chocobozzz
d38a49463f Fix disabling object storage ACL in docker 2023-09-01 11:41:38 +02:00
Yehuda Deutsch
f7882ca3eb Switch from debian bullseye to bookworm 2023-08-17 15:18:21 +02:00
mira.bat
f862be2749 Add an option to sign federated fetches for mastodon compatibility (#5898)
* Fix player error modal

Not hidden when we change the video

* Correctly dispose player components

* Sign cross-server fetch requests for mastodon AUTHORIZED_FETCH compatibilty

* Add a remote fetch sign configuration knob

* Federated fetches refactoring

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
Co-authored-by: ira <ira@foxgirl.space>
2023-07-27 17:01:15 +02:00
Chocobozzz
4e5da193d0 Keep old docker path for web videos
Avoid breaking existing peertube instances on upgrade
2023-07-20 11:26:33 +02:00
Chocobozzz
4f8b623668 Add missing storyboard directory to docker 2023-07-19 11:42:00 +02:00
Chocobozzz
d732ec7b46 Rename "videos" config to "web-videos" 2023-07-11 11:23:51 +02:00
Chocobozzz
c57ad141a9 Rename webtorrent config to web_videos 2023-07-11 09:52:14 +02:00
Chocobozzz
6a49056026 Add TMP persistent directory
To store files that must be preserved between peertube restarts
2023-05-09 08:57:34 +02:00
Joël Galeran
3458e8ba0d feat(docker): make database name configurable (#5734)
* feat(docker): make database name configurable

WIP
Related https://github.com/Chocobozzz/PeerTube/issues/5708

* Update .env

* PEERTUBE_DB_NAME & add comments
2023-04-07 10:52:49 +02:00
Chocobozzz
a3e5f7e732 Add missing docker env for object storage config 2023-03-07 10:32:43 +01:00
Chocobozzz
1ea868a945 Fill documentation with required secret conf 2022-10-10 11:19:45 +02:00
kontrollanten
6c5f0d3aeb server: serve files from storage/well-known (#5214)
* server: serve files from storage/well-known

closes #5206

* well-known: add tests

* test: try to skip new tests

* test: another try

* fix(config/prod): well_known path

* test: fix broken tests

* Update misc-endpoints.ts

* Use getDirectoryPath for tests

* Fix tests

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-10-04 10:53:00 +02:00
Chocobozzz
b1053a30f6 Add ability to use docker on local 2022-08-11 10:43:31 +02:00
Chocobozzz
5b2ede7d55 Fix docker user entrypoint 2022-06-21 08:47:39 +02:00
Chocobozzz
6348fb1884 Prefer using node instead of npm in dockerfile
We get bad error output with npm
2022-05-04 09:06:44 +02:00
Chocobozzz
b0f3c7df13 Use node 16 in peertube docker image 2022-05-02 14:33:56 +02:00
Doug Luce
f9915efa5e Make object storage ACL configurable
Override this value to allow uploads to non-public S3
buckets. Otherwise "AccessDenied: Access Denied" errors will end up in
the log.

Fixes #4850
2022-03-16 10:58:01 +01:00
Chocobozzz
2c7d736bd3 Install git in docker image
Can be needed to install plugins
2022-03-07 13:39:50 +01:00
Chocobozzz
219e18c944 Reuse latest dockerfile fixes 2022-03-04 16:49:20 +01:00
Chocobozzz
75b7117f07 Remove unnecessary NPM_RUN_BUILD_OPTS docker arg 2022-01-06 10:37:55 +01:00
Chocobozzz
8faa7d87a7 Remove angular cache in docker build 2022-01-03 14:20:56 +01:00
Chocobozzz
b18a501a0e Try to fix docker build 2022-01-03 14:20:56 +01:00
Chocobozzz
134449b5ee Increase docker ARM build timeout 2021-12-28 08:42:11 +01:00
Chocobozzz
4ff75a3b2c Deprecate node 12 2021-12-24 13:52:32 +01:00
Chocobozzz
14a07e0176 Increase yarn timeout
It can be slow when building docker using qemu
2021-12-06 08:57:10 +01:00
Chocobozzz
37cb07eae2 Add missing docker credentials env 2021-12-02 09:21:19 +01:00
Chocobozzz
1606ac207d Migrate docker image to bullseye 2021-11-16 17:03:44 +01:00
Florian CUNY
817c34d57c Trigger rebuild of Gitpod's image for PeerTube
Gitpod's docker image for PeerTube hasn't been rebuilt for some time, and started to have compatibility issues between dependencies and the node engine. Triggering this rebuild should force Gitpod to rebuild the image with node v16.13.0 instead of node v12.20.0.
2021-11-09 11:37:47 +01:00
Florian CUNY
8dd754c767 Added 144p encoding (#4492)
* Added 144p encoding

Implements https://github.com/Chocobozzz/PeerTube/issues/4428

* Fixed typo in core-utils

* Increased BitPerPixel for 144p

* Disabled 144p by default in test.yaml

* Another try at fixing tests

* Fixed test in video-transcoder (api-3)

* Fixed test in video-imports (api-4)

* Fixed test in live-constraints (api-2)

* Tried to fix tests in api-3 again

* Revert "Tried to fix tests in api-3 again"

This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14.

* Fixed test in config.ts (api-2)

* Try to fix test in video-hls.ts (api-3)

* Fixed test in video-transcoder.ts (api-3)

* Fix tests

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-11-05 10:23:02 +01:00
Chocobozzz
62549e6c98 Rewrite youtube-dl import
Use python3 binary
Allows to use a custom youtube-dl release URL
Allows to use yt-dlp (youtube-dl fork)
Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY
env variables
2021-10-22 10:25:24 +02:00
Chocobozzz
97b6428af7 Breaking: fix inconsistencies in configuration 2021-10-20 16:29:41 +02:00