-
Notifications
You must be signed in to change notification settings - Fork 26
/
.gitpod.yml
27 lines (23 loc) · 857 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
# Configure a custom docker image. Here we install 'cargo watch'
image:
file: examples/util/gitpod/Dockerfile
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
tasks:
# Run Prometheus
- init: prometheus
command: $(which prometheus) --config.file=./examples/util/prometheus.yml
# Build and run on startup
- init: cargo build
command: cargo run -p example-full-api serve
# In parallel, open a terminal with automatic type-checking for development
- command: cargo watch -x check
# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/
ports:
- port: 9090
onOpen: open-preview
- port: 3000
onOpen: open-preview
vscode:
extensions:
# "The" Rust extension for VSCode
- rust-lang.rust-analyzer