diff options
author | Jan Keromnes <jan.keromnes@typefox.io> | 2019-01-30 08:39:42 +0000 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-04-12 09:25:43 +0200 |
commit | 0cfcbae8189353a1ad29bafbd520e6965290f367 (patch) | |
tree | 05b3a7c612c2fb8b7be7fc87dc4439b00b4bf6fd /.gitpod.yml | |
parent | cda03765fe366f028897e9b02dd4a0a19af3c935 (diff) | |
download | PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.tar.gz PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.tar.zst PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.zip |
Add automated dev setup using Gitpod
Diffstat (limited to '.gitpod.yml')
-rw-r--r-- | .gitpod.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 000000000..c2f2fa464 --- /dev/null +++ b/.gitpod.yml | |||
@@ -0,0 +1,16 @@ | |||
1 | image: | ||
2 | file: support/docker/gitpod/Dockerfile | ||
3 | ports: | ||
4 | - port: 3000 | ||
5 | onOpen: open-preview | ||
6 | - port: 5432 | ||
7 | onOpen: ignore | ||
8 | - port: 6379 | ||
9 | onOpen: ignore | ||
10 | - port: 9000 | ||
11 | onOpen: ignore | ||
12 | tasks: | ||
13 | - command: redis-server | ||
14 | - before: export NODE_CONFIG="{\"import\":{\"videos\":{\"torrent\":{\"enabled\":false}}},\"webserver\":{\"hostname\":\"$(gp url 3000 | cut -d/ -f3)\",\"port\":\"443\",\"https\":true}}" | ||
15 | init: yarn install --pure-lockfile | ||
16 | command: npm run dev \ No newline at end of file | ||