Skip to content

Commit c2d8090

Browse files
ollypombermudezmt
authored andcommitted
Removed Build from Compose on Docker Desktop Example (docker#8750)
* Removed Build from Compose.yaml on Compose to Kubernetes * Removed build from UCP example too
1 parent d82934a commit c2d8090

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

_includes/kubernetes-mac-win.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -145,28 +145,23 @@ version: '3.3'
145145

146146
services:
147147
web:
148-
build: web
149-
image: dockerdemos/lab-web
150-
volumes:
151-
- "./web/static:/static"
148+
image: dockersamples/k8s-wordsmith-web
152149
ports:
153150
- "80:80"
154151

155152
words:
156-
build: words
157-
image: dockerdemos/lab-words
153+
image: dockersamples/k8s-wordsmith-api
158154
deploy:
159155
replicas: 5
160156
endpoint_mode: dnsrr
161157
resources:
162158
limits:
163-
memory: 16M
159+
memory: 50M
164160
reservations:
165-
memory: 16M
161+
memory: 50M
166162

167163
db:
168-
build: db
169-
image: dockerdemos/lab-db
164+
image: dockersamples/k8s-wordsmith-db
170165
```
171166
172167
If you already have a Kubernetes YAML file, you can deploy it using the

ee/ucp/kubernetes/deploy-with-compose.md

-3
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,16 @@ version: '3.3'
2929

3030
services:
3131
web:
32-
build: web
3332
image: dockersamples/k8s-wordsmith-web
3433
ports:
3534
- "8080:80"
3635

3736
words:
38-
build: words
3937
image: dockersamples/k8s-wordsmith-api
4038
deploy:
4139
replicas: 5
4240

4341
db:
44-
build: db
4542
image: dockersamples/k8s-wordsmith-db
4643
```
4744

0 commit comments

Comments
 (0)