X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.gitpod.yml;h=4ccaeabe330c23916506c6e2ca11683ee55d59cc;hb=9a64621975097f648f6bf19f15b03ba3820918f2;hp=c2f2fa46455f8737cdc752988b6ec370761a6916;hpb=97567dd81f508dd6295ac4d73d849aa2ce0a6549;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.gitpod.yml b/.gitpod.yml index c2f2fa464..4ccaeabe3 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -10,7 +10,11 @@ ports: - port: 9000 onOpen: ignore tasks: -- command: redis-server -- before: export NODE_CONFIG="{\"import\":{\"videos\":{\"torrent\":{\"enabled\":false}}},\"webserver\":{\"hostname\":\"$(gp url 3000 | cut -d/ -f3)\",\"port\":\"443\",\"https\":true}}" - init: yarn install --pure-lockfile - command: npm run dev \ No newline at end of file +- name: Redis + command: redis-server +- name: PeerTube + before: export NODE_CONFIG="{\"import\":{\"videos\":{\"torrent\":{\"enabled\":false}}},\"webserver\":{\"hostname\":\"$(gp url 3000 | cut -d/ -f3)\",\"port\":\"443\",\"https\":true}}" + init: > + psql -h localhost -d postgres --file=support/docker/gitpod/setup_postgres.sql && + yarn install --pure-lockfile + command: npm run dev