-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevspace.yaml
More file actions
executable file
·39 lines (39 loc) · 893 Bytes
/
devspace.yaml
File metadata and controls
executable file
·39 lines (39 loc) · 893 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
version: v1beta9
images:
app:
image: dscr.io/${DEVSPACE_USERNAME}/container-registry-proxy
preferSyncOverRebuild: true
injectRestartHelper: true
build:
docker:
options:
buildArgs:
USER: root # Workaround to support code reloading in dev
deployments:
- name: container-registry-proxy
helm:
componentChart: true
values:
containers:
- image: dscr.io/${DEVSPACE_USERNAME}/container-registry-proxy
service:
ports:
- port: 8080
dev:
ports:
- imageName: app
forward:
- port: 8080
open:
- url: http://localhost:8080
sync:
- imageName: app
localSubPath: ./dist
containerPath: ./dist
onUpload:
restartContainer: true
profiles:
- name: production
patches:
- op: remove
path: images.app.injectRestartHelper