aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/dev
diff options
context:
space:
mode:
authorJan Keromnes <janx@linux.com>2018-01-16 16:46:04 +0100
committerChocobozzz <me@florianbigard.com>2018-01-16 16:46:04 +0100
commitb270ad07f13fa4125fbade6208596071329bc92f (patch)
tree5f6e2fa23ccc07705d978fd5fea3221e73f8efc1 /support/docker/dev
parente28d531fc5656c47f82426ac1417666a092bb9de (diff)
downloadPeerTube-b270ad07f13fa4125fbade6208596071329bc92f.tar.gz
PeerTube-b270ad07f13fa4125fbade6208596071329bc92f.tar.zst
PeerTube-b270ad07f13fa4125fbade6208596071329bc92f.zip
Add Janitor configuration file for PeerTube. (#204)
Diffstat (limited to 'support/docker/dev')
-rw-r--r--support/docker/dev/Dockerfile4
-rw-r--r--support/docker/dev/janitor.json34
2 files changed, 38 insertions, 0 deletions
diff --git a/support/docker/dev/Dockerfile b/support/docker/dev/Dockerfile
index 2328140fb..ccad92f6b 100644
--- a/support/docker/dev/Dockerfile
+++ b/support/docker/dev/Dockerfile
@@ -15,6 +15,10 @@ WORKDIR /home/user/PeerTube
15# Configure Cloud9 IDE to use PeerTube's source directory as workspace (-w). 15# Configure Cloud9 IDE to use PeerTube's source directory as workspace (-w).
16RUN sudo sed -i "s/-w \/home\/user/-w \/home\/user\/PeerTube/" /etc/supervisord.conf 16RUN sudo sed -i "s/-w \/home\/user/-w \/home\/user\/PeerTube/" /etc/supervisord.conf
17 17
18# Configure Janitor for PeerTube.
19ADD janitor.json /home/user/
20RUN sudo chown user:user /home/user/janitor.json
21
18# Configure and build PeerTube. 22# Configure and build PeerTube.
19RUN yarn install \ 23RUN yarn install \
20 && npm run build 24 && npm run build
diff --git a/support/docker/dev/janitor.json b/support/docker/dev/janitor.json
new file mode 100644
index 000000000..6452f56c8
--- /dev/null
+++ b/support/docker/dev/janitor.json
@@ -0,0 +1,34 @@
1{
2 "name": "PeerTube",
3 "description": "Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.",
4 "icon": "https://janitor.technology/img/peertube.svg",
5 "docker": {
6 "image": "chocobozzz/peertube-dev"
7 },
8 "ports": {
9 "22": {
10 "label": "SSH",
11 "proxy": "none"
12 },
13 "8088": {
14 "label": "VNC",
15 "proxy": "https"
16 },
17 "8089": {
18 "label": "Cloud9",
19 "proxy": "https"
20 },
21 "9000": {
22 "label": "PeerTube",
23 "proxy": "https",
24 "preview": true
25 }
26 },
27 "scripts": {
28 "Start PeerTube": "npm start",
29 "Build PeerTube": "npm run build",
30 "Run tests": "npm test",
31 "Update source code": "git pull --rebase origin",
32 "Send to code review": "hub pull-request"
33 }
34}