mirror of https://github.com/Chocobozzz/PeerTube
Add Janitor configuration file for PeerTube. (#204)
parent
e28d531fc5
commit
b270ad07f1
|
@ -15,6 +15,10 @@ WORKDIR /home/user/PeerTube
|
||||||
# Configure Cloud9 IDE to use PeerTube's source directory as workspace (-w).
|
# Configure Cloud9 IDE to use PeerTube's source directory as workspace (-w).
|
||||||
RUN sudo sed -i "s/-w \/home\/user/-w \/home\/user\/PeerTube/" /etc/supervisord.conf
|
RUN sudo sed -i "s/-w \/home\/user/-w \/home\/user\/PeerTube/" /etc/supervisord.conf
|
||||||
|
|
||||||
|
# Configure Janitor for PeerTube.
|
||||||
|
ADD janitor.json /home/user/
|
||||||
|
RUN sudo chown user:user /home/user/janitor.json
|
||||||
|
|
||||||
# Configure and build PeerTube.
|
# Configure and build PeerTube.
|
||||||
RUN yarn install \
|
RUN yarn install \
|
||||||
&& npm run build
|
&& npm run build
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
"name": "PeerTube",
|
||||||
|
"description": "Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.",
|
||||||
|
"icon": "https://janitor.technology/img/peertube.svg",
|
||||||
|
"docker": {
|
||||||
|
"image": "chocobozzz/peertube-dev"
|
||||||
|
},
|
||||||
|
"ports": {
|
||||||
|
"22": {
|
||||||
|
"label": "SSH",
|
||||||
|
"proxy": "none"
|
||||||
|
},
|
||||||
|
"8088": {
|
||||||
|
"label": "VNC",
|
||||||
|
"proxy": "https"
|
||||||
|
},
|
||||||
|
"8089": {
|
||||||
|
"label": "Cloud9",
|
||||||
|
"proxy": "https"
|
||||||
|
},
|
||||||
|
"9000": {
|
||||||
|
"label": "PeerTube",
|
||||||
|
"proxy": "https",
|
||||||
|
"preview": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"Start PeerTube": "npm start",
|
||||||
|
"Build PeerTube": "npm run build",
|
||||||
|
"Run tests": "npm test",
|
||||||
|
"Update source code": "git pull --rebase origin",
|
||||||
|
"Send to code review": "hub pull-request"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue