aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker
Commit message (Collapse)AuthorAgeFilesLines
* 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-252-0/+4
| | | | | | | | | | | | | | | * 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
|
* Add curl as dependency to allow for healthchecksdecentral1se2021-05-071-1/+1
| | | | Closes https://github.com/Chocobozzz/PeerTube/issues/4045.
* [support/docker] expose webtorrent setting in os variable settingsArthur Lutz2021-03-291-0/+4
|
* Add build-essentials if architecture not supportedChocobozzz2021-03-051-1/+1
| | | | bcrypt needs to be built on arm64 for example
* Remove traefik doc: we don't use it anymoreChocobozzz2021-02-121-1/+1
|
* Support NodeJS 14 and 15, deprecate Node 10Chocobozzz2021-02-041-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 docker images I can't maintainChocobozzz2021-01-137-153/+0
|
* Support live port in docker composeChocobozzz2021-01-071-3/+4
|
* Fix docker webserver buildChocobozzz2021-01-071-1/+1
|
* Fix docker nginx container if peertube restartsChocobozzz2021-01-051-0/+5
|
* Remove traefik docker supportChocobozzz2020-12-306-119/+35
|
* Fix PostreSQL initialization for GitpodJan Keromnes2020-12-061-4/+0
|
* Trigger a Gitpod dev image rebuild (in order to get upstream's Node.js 12 ↵Jan Keromnes2020-12-021-0/+4
| | | | | | | upgrade) (#3388) * Trigger a Gitpod dev image rebuild (in order to get upstream's Node.js 12 upgrade) * Update Dockerfile
* export rtmp port in dockerfilesRigel Kent2020-11-213-4/+7
| | | | follows #3341
* consistent documentation and configuration in compose fileRigel Kent2020-11-112-6/+7
|
* move traefik to its own override fileRigel Kent2020-11-113-32/+37
|
* Do not expose containers by default in traefikRigel Kent2020-11-113-12/+5
|
* Add nginx behind traefik in docker-compose + image updatesRigel Kent2020-11-116-26/+77
| | | | | | | | | | | - 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
* fix opendkim permissions in docker-compose setup (#2868)Kim2020-06-121-0/+2
| | | | Co-authored-by: kimsible <kimsible@users.noreply.github.com> Co-authored-by: Rigel Kent <par@rigelk.eu>
* Fixes docker-compose .env (#2538)Kim2020-05-181-4/+22
| | | | | | | | | | | | | * chore: remove unused var * fix database name as peertube + update comments * chore: comment vars indentic to production.yrml * add smtp comment * clarify and detail comments Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* Correctly fix docker storage configChocobozzz2020-04-021-1/+1
|
* Move streaming-playlists to /dataxcffl2020-04-021-0/+1
|
* feat: add dkim to docker-composekimsible2020-03-112-0/+5
|
* Chore/docker-documentation-improvements (#2494)Kim2020-02-243-21/+18
| | | | | | | | | | | | | | * 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 missing ca-certificates in docker imageChocobozzz2020-02-171-1/+1
|
* Fix missing python dependency in Dockerfile.buster (#2495)Kim2020-02-171-1/+1
| | | | | | * Fix missing youtube-dl dependency in buster docker image * Fix missing python dependency in buster docker image
* Add openssl in docker containerChocobozzz2020-01-271-1/+1
|
* Docker: stretch -> busterChocobozzz2019-12-122-2/+2
|
* Add support for HLS in the Docker container. (#2324)Ben Lubar2019-12-122-5/+8
| | | | | | * Add support for HLS in the Docker container. * Remove comment from Dockerfile.stretch
* Simplify Dockerfile and slim Docker imageFelix Ableitner2019-12-041-20/+4
|
* Try to fix gitpodChocobozzz2019-12-031-1/+1
|
* Fix For GitPodMrGiga2019-11-281-1/+1
|
* Sticking to one env-var management system (#2247)Leopere2019-11-182-8/+11
| | | | | | | | | | | | | | | | | | | | * Sticking to one env-var management system Starting with the Postgres container so that you only have to set overlapping environment variables in one place. * Moving Postfix envvars pt 1 * Moving Postfix envvars pt 2 .env file * Added missing envvars. * Adding functioning glue Suggest something better if you wish. * removed IP from example * Removed default network from update.
* Fix traefik version in docker composeChocobozzz2019-10-211-1/+1
|
* Deprecate Node 8Chocobozzz2019-08-072-2/+2
| | | | The support ends on December 2019: https://github.com/nodejs/Release#release-schedule
* WIP plugins: add ability to register pluginsChocobozzz2019-07-241-0/+1
|
* yarn -> npm in dockerfileChocobozzz2019-07-081-2/+2
|
* replace npm and apt-get by yarn and apt in dockerfile.stretch (#1952)Jacen2019-07-081-8/+8
| | | | | | * replace npm and apt-get by yarn and apt in dockerfile.stretch * keep consistancy
* Improve 4K video quality after transcodingChocobozzz2019-06-061-0/+3
|
* Fix docker-compose setup so Peertube sees correct IPFelix Ableitner2019-05-212-2/+8
|