-
Notifications
You must be signed in to change notification settings - Fork 3
/
devspace.yaml
107 lines (107 loc) · 2.1 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: v1beta9
images:
app:
image: gitlab.com/wend//localforge
tags:
- latest
injectRestartHelper: true
appendDockerfileInstructions:
- USER root
rebuildStrategy: ignoreContextChanges
build:
disabled: true
mysql:
image: mysql
tags:
- latest
createPullSecret: true
build:
disabled: true
phpmyadmin:
image: phpmyadmin
tags:
- latest
createPullSecret: true
build:
disabled: true
deployments:
- name: mysql
helm:
componentChart: true
values:
containers:
- env:
- name: MYSQL_ROOT_PASSWORD
value: "${DB_PASSWORD}"
- name: MYSQL_DATABASE
value: "${DB_DATABASE}"
- name: MYSQL_USER
value: "${DB_USERNAME}"
- name: MYSQL_PASSWORD
value: "${DB_PASSWORD}"
- name: MYSQL_ALLOW_EMPTY_PASSWORD
value: "yes"
image: mysql:latest
service:
ports:
- port: 3306
- name: app
helm:
componentChart: true
values:
containers:
- image: gitlab.com/wend//fareharbor-api
volumeMounts:
- containerPath: /var/www/html
volume:
name: app-volume
readOnly: false
volumes:
- name: app-volume
size: "5Gi"
service:
ports:
- port: 8000
dev:
ports:
- imageName: app
forward:
- port: 8000
remotePort: 80
- imageName: mysql
forward:
- port: 3306
remotePort: 3306
open:
- url: http://localhost:80
sync:
- imageName: app
excludePaths:
- .git/
uploadExcludePaths:
- devspace.yaml
- .devspace/
- devspace.yaml
- .devspace/
onUpload:
restartContainer: true
profiles:
- name: production
patches:
- op: remove
path: images.app.appendDockerfileInstructions
- op: remove
path: images.app.injectRestartHelper
- op: remove
path: images.app.rebuildStrategy
- name: interactive
patches:
- op: add
path: dev.interactive
value:
defaultEnabled: true
- op: add
path: images.app.entrypoint
value:
- sleep
- "9999999999"