-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitpod.yml
71 lines (68 loc) · 1.86 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Use docker image with postgres support: https://www.gitpod.io/docs/config-docker
image: gitpod/workspace-postgres
# Start up tasks: https://www.gitpod.io/docs/config-start-tasks/
tasks:
- name: Setup
init: pnpm install
command: |
pnpm prisma:migrate:dev
pnpm prisma:seed
pnpm docker:redis
gp sync-done setup
env:
DATABASE_URL: postgresql://gitpod@localhost/jabrefonline
NUXT_TELEMETRY_DISABLED: 1
- name: Dev Server
command: |
gp sync-await setup
pnpm dev
env:
DATABASE_URL: postgresql://gitpod@localhost/jabrefonline
NUXT_TELEMETRY_DISABLED: 1
- name: Generate
command: |
gp sync-await setup
pnpm generate:watch
env:
DATABASE_URL: postgresql://gitpod@localhost/jabrefonline
NUXT_TELEMETRY_DISABLED: 1
- name: Prisma Studio
command: |
gp sync-await setup
pnpm prisma:studio
env:
DATABASE_URL: postgresql://gitpod@localhost/jabrefonline
vscode:
# Add handy VS Code extensions: https://www.gitpod.io/docs/ides-and-editors/vscode-extensions
extensions:
- johnsoncodehk.volar
- dbaeumer.vscode-eslint
- gitHub.copilot
- eamodio.gitlens
- graphQL.vscode-graphql
- ZixuanChen.vitest-explorer
- esbenp.prettier-vscode
- prisma.prisma
- bradlc.vscode-tailwindcss
- streetsidesoftware.code-spell-checker
- github.vscode-pull-request-github
- Vue.volar
- antfu.goto-alias
# Expose ports: https://www.gitpod.io/docs/config-ports/
ports:
# Redis
- port: 6380
onOpen: ignore
# Database
- port: 5432
onOpen: ignore
# Dev server
- port: 3000
onOpen: open-preview
# Prisma Studio
- port: 5555
onOpen: open-preview
# HMR websocket https://github.com/nuxt/framework/issues/1796#issuecomment-1111618663
# Still needs to be configured manually :(
- port: 24678
onOpen: ignore