.gitpod.yml 603 B

1234567891011121314151617181920
  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. - name: Redis
  14. command: redis-server
  15. - name: PeerTube
  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 build:server && npm run dev