forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
32 lines (31 loc) · 926 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ports:
- port: 8080
# ignore these ports by default to avoid extra notifications
- port: 8983
onOpen: ignore
- port: 7075
onOpen: ignore
- port: 7000
onOpen: ignore
- port: 3000
onOpen: ignore
tasks:
- name: Start App
before: |
# run chown because https://github.com/gitpod-io/gitpod/issues/4851
sudo chown -R gitpod:999 /workspace/openlibrary
# Give container (ie group) write access to this volume
sudo chmod g+w -R /workspace/openlibrary/
# because: https://github.com/gitpod-io/gitpod/issues/9311
chmod o+rx /workspace/openlibrary
# init runs once for each commit to the default branch
init: ./scripts/setup_gitpod.sh
# command runs each time a user starts their workspace
command: docker-compose up
github:
prebuilds:
# Disable all prebuilds ; it's not faster and often errors
master: false
pullRequests: false
branches: false
pullRequestsFromForks: false