aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/production/config
Commit message (Collapse)AuthorAgeFilesLines
* Add TMP persistent directoryChocobozzz2023-05-091-0/+1
| | | | To store files that must be preserved between peertube restarts
* feat(docker): make database name configurable (#5734)Joël Galeran2023-04-071-0/+6
| | | | | | | | | | * feat(docker): make database name configurable WIP Related https://github.com/Chocobozzz/PeerTube/issues/5708 * Update .env * PEERTUBE_DB_NAME & add comments
* Add missing docker env for object storage configChocobozzz2023-03-071-0/+9
|
* Fill documentation with required secret confChocobozzz2022-10-101-0/+3
|
* server: serve files from storage/well-known (#5214)kontrollanten2022-10-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Make object storage ACL configurableDoug Luce2022-03-161-0/+1
| | | | | | | | Override this value to allow uploads to non-public S3 buckets. Otherwise "AccessDenied: Access Denied" errors will end up in the log. Fixes #4850
* Add missing docker credentials envChocobozzz2021-12-021-0/+4
|
* Added 144p encoding (#4492)Florian CUNY2021-11-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Rewrite youtube-dl importChocobozzz2021-10-221-0/+1
| | | | | | | | 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
* Breaking: fix inconsistencies in configurationChocobozzz2021-10-201-2/+2
|
* Fix admin edition disabling featureChocobozzz2021-10-141-3/+3
|
* extend client-overrides with default images (#4392)kontrollanten2021-10-121-1/+7
| | | | | | | | | | | | | | * extend client-overrides with default images Add: * default-playlist.png * default-avatar-account.png * default-avatar-videochannel.png solves #4108 * Rename to default-avatar-video-channel.png Co-authored-by: Chocobozzz <me@florianbigard.com>
* Allow configuration to be static/readonly (#4315)Jelle Besseling2021-10-121-0/+7
| | | | | | | | | | | * Allow configuration to be static/readonly * Make all components disableable * Improve disabled component styling * Rename edits allowed field in configuration * Fix CI
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for saving video files to object storage * Add support for custom url generation on s3 stored files Uses two config keys to support url generation that doesn't directly go to (compatible s3). Can be used to generate urls to any cache server or CDN. * Upload files to s3 concurrently and delete originals afterwards * Only publish after move to object storage is complete * Use base url instead of url template * Fix mistyped config field * Add rudenmentary way to download before transcode * Implement Chocobozzz suggestions https://github.com/Chocobozzz/PeerTube/pull/4290#issuecomment-891670478 The remarks in question: Try to use objectStorage prefix instead of s3 prefix for your function/variables/config names Prefer to use a tree for the config: s3.streaming_playlists_bucket -> object_storage.streaming_playlists.bucket Use uppercase for config: S3.STREAMING_PLAYLISTS_BUCKETINFO.bucket -> OBJECT_STORAGE.STREAMING_PLAYLISTS.BUCKET (maybe BUCKET_NAME instead of BUCKET) I suggest to rename moveJobsRunning to pendingMovingJobs (or better, create a dedicated videoJobInfo table with a pendingMove & videoId columns so we could also use this table to track pending transcoding jobs) https://github.com/Chocobozzz/PeerTube/pull/4290/files#diff-3e26d41ca4bda1de8e1747af70ca2af642abcc1e9e0bfb94239ff2165acfbde5R19 uses a string instead of an integer I think we should store the origin object storage URL in fileUrl, without base_url injection. Instead, inject the base_url at "runtime" so admins can easily change this configuration without running a script to update DB URLs * Import correct function * Support multipart upload * Remove import of node 15.0 module stream/promises * Extend maximum upload job length Using the same value as for redundancy downloading seems logical * Use dynamic part size for really large uploads Also adds very small part size for local testing * Fix decreasePendingMove query * Resolve various PR comments * Move to object storage after optimize * Make upload size configurable and increase default * Prune webtorrent files that are stored in object storage * Move files after transcoding jobs * Fix federation * Add video path manager * Support move to external storage job in client * Fix live object storage tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* (doc) add note in config that tmp is also used while processingRigel Kent2021-06-081-1/+1
|
* Allow setting log level using PEERTUBE_LOG_LEVEL envvarJohan Fleury2021-06-021-0/+1
|
* Fix broadcast message log levelChocobozzz2021-05-251-1/+1
|
* Allow SSL database parameter (#4114)Stakovicz2021-05-251-0/+3
| | | | | | | | | | | | | | | * Allow SSL database parameter Allow SSL database parameter via environment variable * Allow SSL database parameter Allow SSL database parameter via environment variable * Update support/docker/production/config/custom-environment-variables.yaml Co-authored-by: Chocobozzz <chocobozzz@cpy.re> Co-authored-by: Chocobozzz <chocobozzz@cpy.re>
* Fix logger warning levelChocobozzz2021-05-141-1/+1
|
* [support/docker] expose webtorrent setting in os variable settingsArthur Lutz2021-03-291-0/+4
|
* Remove traefik doc: we don't use it anymoreChocobozzz2021-02-121-1/+1
|
* feat: allow administrator to disable logging of ping requestsJohan Fleury2021-01-131-0/+5
|
* add support for 1440p (Quad HD/QHD/WQHD) videosRigel Kent2021-01-131-0/+3
|
* Remove traefik docker supportChocobozzz2020-12-301-67/+0
|
* Do not expose containers by default in traefikRigel Kent2020-11-111-1/+4
|
* Add nginx behind traefik in docker-compose + image updatesRigel Kent2020-11-111-1/+1
| | | | | | | | | | | - 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.
* Add ssl support to postgresqlChocobozzz2020-08-241-0/+1
|
* Add ability to override client assets : logo - favicon - PWA icons - PWA ↵Kim2020-07-101-0/+5
| | | | | | | | | | | | | | | manifest name and description (#2897) * Add client-overrides storage to config * Add static-serve for client overrides * Move backgroun-image logo from bundle to css tag for runtime content hash * Add dynamic JSON manifest * Add content hash for manifest, favicon and logo Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Add database.name config optionGirish Ramakrishnan2020-06-251-1/+1
| | | | | | | | If database.name is set, we use it as the complete database name. If unset, we use the "peertube"+database.suffix as the complete database name. Fixes #1620
* Correctly fix docker storage configChocobozzz2020-04-021-1/+1
|
* Move streaming-playlists to /dataxcffl2020-04-021-0/+1
|
* Chore/docker-documentation-improvements (#2494)Kim2020-02-241-11/+0
| | | | | | | | | | | | | | * unify env_var names to replace * detail more and improve docker doc * fix title * move acme email and domains to traefik command * add details about TRAEFIK_ACME_* variables * Fix preview links from /develop to /master
* Add support for HLS in the Docker container. (#2324)Ben Lubar2019-12-121-2/+6
| | | | | | * Add support for HLS in the Docker container. * Remove comment from Dockerfile.stretch
* WIP plugins: add ability to register pluginsChocobozzz2019-07-241-0/+1
|
* Improve 4K video quality after transcodingChocobozzz2019-06-061-0/+3
|
* Allow to control RATES_LIMIT from configuration (#1787)Yohan Boniface2019-04-261-0/+10
| | | | | | * Allow to control RATES_LIMIT from configuration * @Chocobozzz review (squash me)
* Add ability to disable trackerChocobozzz2019-04-101-0/+4
|
* BREAKING: update CSP configurationChocobozzz2019-02-211-3/+0
| | | | Disable it by default and add ability to specify a custom report uri
* Implement contact form on server sideChocobozzz2019-01-101-0/+5
|
* add Content Security Policy (#1252)Rigel Kent2018-12-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | * add Content Security Policy * remove reflect-metadata on production builds to get rid of unsafe-eval * fix baseCSP usage * add SRI to CSP * add blob: to media-src * remove SRI * CSP set to reportOnly * adding data: to connect-src CSP * remove block-all-mixed-content * add report-uri support
* Add tmp and redundancy directoriesChocobozzz2018-12-041-0/+2
|
* Various improvements for docker-composeFelix Ableitner2018-11-211-0/+3
|
* Configure docker image to accept trust_proxy as an env variable in json ↵LecygneNoir2018-10-221-1/+3
| | | | array (#1338)
* (docker) search and import settings env variables (#1210)kaiyou2018-10-071-0/+20
|
* Add possibility to manage trust_proxy list in docker imagevictor héry2018-09-161-0/+2
|
* (docker) add quota to the docker configuration values (#964)kaiyou2018-08-261-0/+5
|
* Fix docker env fileChocobozzz2018-08-141-1/+1
|
* Implement captions/subtitlesChocobozzz2018-07-161-0/+1
|
* (docker) making security settings of traefik on par with nginxRigel Kent2018-06-041-0/+23
|
* Cleanup docker configurationChocobozzz2018-05-301-2/+0
|