mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-11-24 02:21:07 +00:00
prepare unstable release
This commit is contained in:
parent
1c78ad39c2
commit
26717994ec
12 changed files with 56 additions and 6 deletions
|
@ -2,4 +2,5 @@
|
|||
.gitignore
|
||||
.dockerignore
|
||||
node_modules
|
||||
screenshots
|
||||
|
||||
|
|
3
CHANGELOG
Normal file
3
CHANGELOG
Normal file
|
@ -0,0 +1,3 @@
|
|||
[0.1.0]
|
||||
* Initial version
|
||||
|
|
@ -1,6 +1,13 @@
|
|||
{
|
||||
"version": "0.1.0",
|
||||
"id": "org.joinpeertube.cloudronapp",
|
||||
"title": "PeerTube",
|
||||
"author": "PeerTube developers",
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"website": "https://joinpeertube.org/",
|
||||
"contactEmail": "support@cloudron.io",
|
||||
"tagline": "Take back control of your videos",
|
||||
"logo": "file://logo.png",
|
||||
"healthCheckPath": "/",
|
||||
"httpPort": 9000,
|
||||
"addons": {
|
||||
|
@ -9,5 +16,15 @@
|
|||
"redis": {},
|
||||
"sendmail": {}
|
||||
},
|
||||
"tags": [ "video", "youtube", "vimeo", "blog", "instagram" ],
|
||||
"mediaLinks": [
|
||||
"https://s3.amazonaws.com/cloudron-app-screenshots/org.joinpeertube.cloudronapp/b78cbb7269d54406ab179f287c130eac1db9f46a/1.png",
|
||||
"https://s3.amazonaws.com/cloudron-app-screenshots/org.joinpeertube.cloudronapp/b78cbb7269d54406ab179f287c130eac1db9f46a/2.png",
|
||||
"https://s3.amazonaws.com/cloudron-app-screenshots/org.joinpeertube.cloudronapp/b78cbb7269d54406ab179f287c130eac1db9f46a/3.jpg"
|
||||
],
|
||||
"changelog": "file://CHANGELOG",
|
||||
"postInstallMessage": "file://POSTINSTALL.md",
|
||||
"documentationUrl": "https://cloudron.io/documentation/apps/peertube/",
|
||||
"manifestVersion": 2
|
||||
}
|
||||
|
||||
|
|
18
DESCRIPTION.md
Normal file
18
DESCRIPTION.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
This app packages PeerTube <upstream>2.2.0</upstream>
|
||||
|
||||
## About
|
||||
|
||||
PeerTube is a free, decentralized and federated video platform developed as an alternative to other platforms that centralize our data and attention, such as YouTube, Dailymotion or Vimeo.
|
||||
|
||||
But one organization hosting PeerTube alone may not have enough money to pay for bandwidth and video storage of its servers, all servers of PeerTube are interoperable as a federated network, and non-PeerTube servers can be part of the larger Vidiverse (federated video network) by talking our implementation of ActivityPub. Video load is reduced thanks to P2P in the web browser using WebTorrent or p2p-media-loader.
|
||||
|
||||
## Features
|
||||
|
||||
* Video streaming - Just upload your videos, and be sure they will stream anywhere. Add a description, some tags and your video will be discoverable by the entire video fediverse, not just your instance. You can even embed a player on your favorite website!
|
||||
|
||||
* Keep in touch with video creators - Follow your favorite channels from PeerTube or really any other place. No need to have an account on the instance you watched a video to follow its author, you can do all of that from the Fediverse (Mastodon, Pleroma, and plenty others), or just with good ol' RSS.
|
||||
|
||||
* An interface to call home - Be it as a user or an instance administrator, you can decide what your experience will be like. Don't like the colors? They are easy to change. Don't want to list videos of an instance but let your users subscribe to them? Don't like the regular web client? All of that can be changed, and much more. No UX dark pattern, no mining your data, no video recommendation bullshit™.
|
||||
|
||||
* Communities that help each other - In addition to visitors using WebTorrent to share the load among them, instances can help each other by caching one another's videos. This way even small instances have a way to show content to a wider audience, as they will be shouldered by friend instances (more about that in our redundancy guide). Content creators can get help from their viewers in the simplest way possible: a support button showing a message linking to their donation accounts or really anything else. No more pay-per-view and advertisements that hurt visitors and incentivize alter creativity (more about that in our FAQ).
|
||||
|
15
Dockerfile
15
Dockerfile
|
@ -9,16 +9,21 @@ RUN apt-get -y update && apt -y install ffmpeg && rm -rf /var/cache/apt /var/lib
|
|||
RUN curl -sL https://github.com/mikefarah/yq/releases/download/3.2.1/yq_linux_amd64 -o /usr/bin/yq && \
|
||||
chmod +x /usr/bin/yq
|
||||
|
||||
# ARG VERSION=2.2.0
|
||||
ARG VERSION=2.2.0
|
||||
|
||||
# install peertube
|
||||
# RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${VERSION}/peertube-v${VERSION}.tar.xz | tar --strip-components 1 -Jxvf -
|
||||
RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${VERSION}/peertube-v${VERSION}.tar.xz | tar --strip-components 1 -Jxvf -
|
||||
RUN yarn install --production --pure-lockfile
|
||||
|
||||
# remove the peertube suffix of dbname (see https://github.com/Chocobozzz/PeerTube/pull/2898)
|
||||
RUN sed -e "s/DBNAME: 'peertube' +/DBNAME: /g" -i dist/server/initializers/config.js
|
||||
|
||||
# dbname branch
|
||||
ARG VERSION=d6a0360a15163ef6f074cb8f649b47efdaf12299
|
||||
RUN curl -L https://github.com/cloudron-io/PeerTube/archive/${VERSION}.tar.gz | tar -zxvf - --strip-components=1
|
||||
# ARG VERSION=e7fe135b5a5666147256efa11d15474d761c37d4
|
||||
# RUN curl -L https://github.com/cloudron-io/PeerTube/archive/${VERSION}.tar.gz | tar -zxvf - --strip-components=1
|
||||
#
|
||||
# RUN yarn install && npm run build
|
||||
|
||||
RUN yarn install --production --pure-lockfile
|
||||
RUN ln -sf /app/data/production.yaml /app/code/config/local-production.yaml
|
||||
|
||||
COPY production.yaml.example start.sh /app/pkg/
|
||||
|
|
6
POSTINSTALL.md
Normal file
6
POSTINSTALL.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
PeerTube does not support webserver host change
|
||||
|
||||
Change the admin email
|
||||
root
|
||||
changeme
|
||||
|
BIN
logo.png
Normal file
BIN
logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
BIN
screenshots/home.png
Normal file
BIN
screenshots/home.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 94 KiB |
BIN
screenshots/peertube-federation-multiplicity.jpg
Normal file
BIN
screenshots/peertube-federation-multiplicity.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 55 KiB |
BIN
screenshots/peertube-screenshot.jpg
Normal file
BIN
screenshots/peertube-screenshot.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
BIN
screenshots/subscribe.png
Normal file
BIN
screenshots/subscribe.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
2
start.sh
2
start.sh
|
@ -21,7 +21,7 @@ if [[ ! -f "/app/data/production.yaml" ]]; then
|
|||
# this is sed because there are too many paths
|
||||
sed -e 's,/var/www/peertube/storage,/app/data/storage,g' -i /app/data/production.yaml
|
||||
|
||||
reset_root_pasword &
|
||||
reset_root_password &
|
||||
fi
|
||||
|
||||
echo "==> Updating configs"
|
||||
|
|
Loading…
Reference in a new issue