File tree 2 files changed +5
-13
lines changed
2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -145,28 +145,23 @@ version: '3.3'
145
145
146
146
services :
147
147
web :
148
- build : web
149
- image : dockerdemos/lab-web
150
- volumes :
151
- - " ./web/static:/static"
148
+ image : dockersamples/k8s-wordsmith-web
152
149
ports :
153
150
- " 80:80"
154
151
155
152
words :
156
- build : words
157
- image : dockerdemos/lab-words
153
+ image : dockersamples/k8s-wordsmith-api
158
154
deploy :
159
155
replicas : 5
160
156
endpoint_mode : dnsrr
161
157
resources :
162
158
limits :
163
- memory : 16M
159
+ memory : 50M
164
160
reservations :
165
- memory : 16M
161
+ memory : 50M
166
162
167
163
db :
168
- build : db
169
- image : dockerdemos/lab-db
164
+ image : dockersamples/k8s-wordsmith-db
170
165
` ` `
171
166
172
167
If you already have a Kubernetes YAML file, you can deploy it using the
Original file line number Diff line number Diff line change @@ -29,19 +29,16 @@ version: '3.3'
29
29
30
30
services :
31
31
web :
32
- build : web
33
32
image : dockersamples/k8s-wordsmith-web
34
33
ports :
35
34
- " 8080:80"
36
35
37
36
words :
38
- build : words
39
37
image : dockersamples/k8s-wordsmith-api
40
38
deploy :
41
39
replicas : 5
42
40
43
41
db :
44
- build : db
45
42
image : dockersamples/k8s-wordsmith-db
46
43
` ` `
47
44
You can’t perform that action at this time.
0 commit comments