/
.gitpod.yml
41 lines (37 loc) · 881 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
33
34
35
36
37
38
39
40
41
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: true
addBadge: false
tasks:
- name: Nextcloud Server
#init: |
# cd gitpod
# docker-compose pull
# cd ..
command: |
git config core.fileMode false
sudo chown -R www-data:www-data .
sudo chmod -R 777 .
cd gitpod
docker-compose up
- name: Dependency install and Frontend
init: |
curl -sS https://getcomposer.org/installer -o ~/composer-setup.php
sudo php ~/composer-setup.php --install-dir=/bin --filename=composer
composer --version
make dev-setup
command: make watch-js
- name: Terminal
command: clear
ports:
- port: 8080
onOpen: open-browser
visibility: private
- port: 8081
visibility: private
onOpen: ignore