aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitpod.yml
diff options
context:
space:
mode:
authorJan Keromnes <janx@linux.com>2020-12-05 12:24:33 +0100
committerRigel Kent <par@rigelk.eu>2020-12-06 13:58:00 +0100
commitef62d58674a23ecee2dafef3b42e2bb771c9e6f6 (patch)
tree9c867ce75ba36e537675ead429b49fcc7b880f40 /.gitpod.yml
parent95bd9515b86e577033d9929c829c77c0df761acf (diff)
downloadPeerTube-ef62d58674a23ecee2dafef3b42e2bb771c9e6f6.tar.gz
PeerTube-ef62d58674a23ecee2dafef3b42e2bb771c9e6f6.tar.zst
PeerTube-ef62d58674a23ecee2dafef3b42e2bb771c9e6f6.zip
Fix PostreSQL initialization for Gitpod
Diffstat (limited to '.gitpod.yml')
-rw-r--r--.gitpod.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.gitpod.yml b/.gitpod.yml
index c2f2fa464..4ccaeabe3 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -10,7 +10,11 @@ ports:
10- port: 9000 10- port: 9000
11 onOpen: ignore 11 onOpen: ignore
12tasks: 12tasks:
13- command: redis-server 13- name: Redis
14- before: export NODE_CONFIG="{\"import\":{\"videos\":{\"torrent\":{\"enabled\":false}}},\"webserver\":{\"hostname\":\"$(gp url 3000 | cut -d/ -f3)\",\"port\":\"443\",\"https\":true}}" 14 command: redis-server
15 init: yarn install --pure-lockfile 15- name: PeerTube
16 command: npm run dev \ No newline at end of file 16 before: export NODE_CONFIG="{\"import\":{\"videos\":{\"torrent\":{\"enabled\":false}}},\"webserver\":{\"hostname\":\"$(gp url 3000 | cut -d/ -f3)\",\"port\":\"443\",\"https\":true}}"
17 init: >
18 psql -h localhost -d postgres --file=support/docker/gitpod/setup_postgres.sql &&
19 yarn install --pure-lockfile
20 command: npm run dev