forked from crosscite/content-negotiation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devspace.yaml
executable file
·47 lines (47 loc) · 895 Bytes
/
devspace.yaml
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
version: v1beta9
images:
app:
image: crosscite/content-negotiation
preferSyncOverRebuild: true
injectRestartHelper: true
appendDockerfileInstructions:
- USER root
deployments:
- name: content-negotiation
helm:
componentChart: true
values:
containers:
- image: crosscite/content-negotiation
service:
ports:
- port: 80
dev:
ports:
- imageName: app
forward:
- port: 8085
remotePort: 80
open:
- url: http://localhost:8085
sync:
- imageName: app
excludePaths:
- .git/
uploadExcludePaths:
- .env
- .env.*
- .bundle
- log/*
- tmp/*
- vendor/bundle/*
- devspace.yaml
onUpload:
restartContainer: true
profiles:
- name: production
patches:
- op: remove
path: images.app.injectRestartHelper
- op: remove
path: images.app.appendDockerfileInstructions