forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
30 lines (29 loc) · 909 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
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:
# Don't prebuild for PRs coming from this repo
# Don't need this running on all renovatebot's PRs; it's slow
pullRequests: false