-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy path.gitpod.yml
More file actions
43 lines (43 loc) · 979 Bytes
/
.gitpod.yml
File metadata and controls
43 lines (43 loc) · 979 Bytes
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
42
43
image:
file: .gitpod.Dockerfile
tasks:
- name: Build
init: |
./mvnw package -Dmaven.test.skip=true -pl backend
gp sync-done build
- name: "Run Petclinic Backend"
init: |
gp sync-await build
command: |
export SPRING_DOCKER_COMPOSE_FILE=/workspace/spring-petclinic-graphql/docker-compose.yml
./mvnw spring-boot:run -pl backend
- name: "Frontend"
init: |
cd frontend
corepack enable
pnpm install
pnpm build
command: |
gp ports await 9977
cd $GITPOD_REPO_ROOT/frontend
pnpm dev
ports:
- port: 9977
onOpen: open-browser
visibility: public
- port: 3080
onOpen: open-browser
visibility: public
vscode:
extensions:
- redhat.java
- vscjava.vscode-java-debug
- vscjava.vscode-java-test
- pivotal.vscode-spring-boot
- graphql.vscode-graphql
jetbrains:
intellij:
plugins:
- com.intellij.lang.jsgraphql
prebuilds:
version: both