Skip to content

Commit 78ebcf1

Browse files
Merge branch 'main' into terraform-paths
2 parents 4e4decc + 9a04338 commit 78ebcf1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

deploy/compose/docker-compose.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ services:
100100

101101
tink-server:
102102
image: ${TINK_SERVER_IMAGE}
103+
deploy:
104+
resources:
105+
limits:
106+
cpus: "0.50"
107+
memory: "512M"
103108
restart: unless-stopped
104109
environment:
105110
FACILITY: ${FACILITY:-onprem}
@@ -159,6 +164,11 @@ services:
159164

160165
db:
161166
image: postgres:14-alpine
167+
deploy:
168+
resources:
169+
limits:
170+
cpus: "0.50"
171+
memory: "512M"
162172
restart: unless-stopped
163173
environment:
164174
POSTGRES_DB: tinkerbell
@@ -176,6 +186,11 @@ services:
176186

177187
tink-cli:
178188
image: ${TINK_CLI_IMAGE}
189+
deploy:
190+
resources:
191+
limits:
192+
cpus: "0.50"
193+
memory: "512M"
179194
restart: unless-stopped
180195
environment:
181196
TINKERBELL_GRPC_AUTHORITY: tink-server:42113
@@ -189,6 +204,11 @@ services:
189204
registry:
190205
image: registry:2.7.1
191206
init: true
207+
deploy:
208+
resources:
209+
limits:
210+
cpus: "0.50"
211+
memory: "512M"
192212
restart: unless-stopped
193213
network_mode: host
194214
healthcheck:
@@ -218,6 +238,11 @@ services:
218238

219239
boots:
220240
image: ${BOOTS_SERVER_IMAGE}
241+
deploy:
242+
resources:
243+
limits:
244+
cpus: "0.50"
245+
memory: "512M"
221246
restart: unless-stopped
222247
command: -dhcp-addr 0.0.0.0:67 -tftp-addr $TINKERBELL_HOST_IP:69 -http-addr $TINKERBELL_HOST_IP:80 -log-level DEBUG
223248
network_mode: host
@@ -250,6 +275,11 @@ services:
250275

251276
osie-bootloader:
252277
image: nginx:alpine
278+
deploy:
279+
resources:
280+
limits:
281+
cpus: "0.50"
282+
memory: "512M"
253283
restart: unless-stopped
254284
tty: true
255285
user: root
@@ -265,6 +295,11 @@ services:
265295

266296
hegel:
267297
image: ${HEGEL_SERVER_IMAGE}
298+
deploy:
299+
resources:
300+
limits:
301+
cpus: "0.50"
302+
memory: "512M"
268303
restart: unless-stopped
269304
environment:
270305
ROLLBAR_TOKEN: ${ROLLBAR_TOKEN-ignored}

0 commit comments

Comments
 (0)