aboutsummaryrefslogblamecommitdiffhomepage
path: root/.gitpod.yml
blob: 4ccaeabe330c23916506c6e2ca11683ee55d59cc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                        







                                                                                                                                                                                        
image:
  file: support/docker/gitpod/Dockerfile
ports:
- port: 3000
  onOpen: open-preview
- port: 5432
  onOpen: ignore
- port: 6379
  onOpen: ignore
- port: 9000
  onOpen: ignore
tasks:
- 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