This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
forked from Zynx64/hydralite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
59 lines (53 loc) · 1.73 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
image:
file: .gitpod.Dockerfile
context: .
# init tasks are ran in prebuilds, command tasks are run when the user starts a new session.
tasks:
- name: Install Packages (Global)
init: yarn
# Since we cannot call this command during the workspace creation process, we'll call sync-done after the workspace is ready.
command: gp sync-done yarn-install
- name: Start Redis
before: redis-init-script start
command: exit 0
- name: Setup Web/Api Server
command: |
gp sync-await yarn-install
yarn setup
yarn dev
vscode:
extensions:
# Prettier VS Code extension
- esbenp.prettier-vscode
# VS Code intgration for ShellCheck so see the docs on how to ignore errors, among other things
- timonwong.shellcheck
# VS Code icon theme Fireship.io uses (Disclaimer: @ajhalili2006 is an fan of Fireship)
- vscode-icons-team.vscode-icons
# GitLens for seeing file annonations and more
- eamodio.gitlens
# Wait a sec, Docker stuff?
- ms-azuretools.vscode-docker
# Rust Analyizer is configured in this repo's .vscode/settings.json, so we'll add it also
- matklad.rust-analyzer
# Don't forget the main one, but YOLO if you enabled both.
#- rust-lang.rust
# Requires the Hadolint binary on PATH or things will go into chaos.
- exiasr.hadolint
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: true
addBadge: false
ports:
# ignore when the Postgres server starts by either our bashrc hack or one of the before scripts.
- port: 5432
onOpen: ignore
visibility: private
# repeat the same for Redis
- port: 6379
onOpen: ignore
visibility: private