-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
44 lines (40 loc) · 1.19 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
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.
tasks:
- name: Setup
init: >
docker-compose up -d;
yarn install;
echo APP_SECRET=$(openssl rand -base64 12) > .env;
echo DATABASE_URL=postgresql://postgres:postgres@localhost:5432/helpdesk?schema=public >> .env;
npx prisma db push;
npx prisma generate;
gp sync-done setup;
command: echo "Setup done"
- name: Dev Server
init: gp sync-await setup
command: yarn dev
# Ports to expose on workspace startup
ports:
# Nextjs
- port: 3000
onOpen: ignore
visibility: public
# Postgres
- port: 5432
onOpen: ignore
visibility: public
vscode:
extensions:
- dbaeumer.vscode-eslint
- mikestead.dotenv
- graphql.vscode-graphql
- esbenp.prettier-vscode
- eamodio.gitlens
- pflannery.vscode-versionlens
- wix.vscode-import-cost
- formulahendry.auto-close-tag
- bradlc.vscode-tailwindcss
- bierner.markdown-preview-github-styles
- pkief.material-icon-theme