Skip to content

Commit 72e09bc

Browse files
Merge pull request #3436 from AritraDey-Dev/fix/docker-pull-arm64
fix(docker): linux/amd64 platform issue in docker compose
1 parent 9e299d4 commit 72e09bc

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docker-compose.prod.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ services:
7373
# ----------------------------------------------------------------------
7474
bety:
7575
image: pecan/bety:${BETY_VERSION:-latest}
76+
platform: linux/amd64
7677
restart: unless-stopped
7778
networks:
7879
- pecan
@@ -97,6 +98,7 @@ services:
9798
# PEcAn documentation as well as PEcAn home page
9899
docs:
99100
image: pecan/docs:${PECAN_VERSION:-latest}
101+
platform: linux/amd64
100102
restart: unless-stopped
101103
networks:
102104
- pecan
@@ -152,6 +154,7 @@ services:
152154
executor:
153155
user: "${UID:-1001}:${GID:-1001}"
154156
image: pecan/executor:${PECAN_VERSION:-latest}
157+
platform: linux/amd64
155158
restart: unless-stopped
156159
networks:
157160
- pecan
@@ -174,6 +177,7 @@ services:
174177
basgra:
175178
user: "${UID:-1001}:${GID:-1001}"
176179
image: pecan/model-basgra-basgra_n_v1.0:${PECAN_VERSION:-latest}
180+
platform: linux/amd64
177181
restart: unless-stopped
178182
networks:
179183
- pecan
@@ -188,6 +192,7 @@ services:
188192
sipnet:
189193
user: "${UID:-1001}:${GID:-1001}"
190194
image: pecan/model-sipnet-git:${PECAN_VERSION:-latest}
195+
platform: linux/amd64
191196
restart: unless-stopped
192197
networks:
193198
- pecan
@@ -203,6 +208,7 @@ services:
203208
user: "${UID:-1001}:${GID:-1001}"
204209
image: pecan/model-ed2-2.2.0:${PECAN_VERSION:-latest}
205210
restart: unless-stopped
211+
platform: linux/amd64
206212
networks:
207213
- pecan
208214
environment:
@@ -216,6 +222,7 @@ services:
216222
maespa:
217223
user: "${UID:-1001}:${GID:-1001}"
218224
image: pecan/model-maespa-git:${PECAN_VERSION:-latest}
225+
platform: linux/amd64
219226
restart: unless-stopped
220227
networks:
221228
- pecan

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ services:
158158
docs:
159159
hostname: docs
160160
image: pecan/docs:${PECAN_VERSION:-latest}
161+
platform: linux/amd64
161162
restart: unless-stopped
162163
networks:
163164
- pecan
@@ -207,6 +208,7 @@ services:
207208
hostname: monitor
208209
user: "${UID:-1001}:${GID:-1001}"
209210
image: pecan/monitor:${PECAN_VERSION:-latest}
211+
platform: linux/amd64
210212
restart: unless-stopped
211213
networks:
212214
- pecan
@@ -236,6 +238,7 @@ services:
236238
hostname: executor
237239
user: "${UID:-1001}:${GID:-1001}"
238240
image: pecan/executor:${PECAN_VERSION:-latest}
241+
platform: linux/amd64
239242
restart: unless-stopped
240243
networks:
241244
- pecan
@@ -276,6 +279,7 @@ services:
276279
hostname: basgra
277280
user: "${UID:-1001}:${GID:-1001}"
278281
image: pecan/model-basgra-basgra_n_v1.0:${PECAN_VERSION:-latest}
282+
platform: linux/amd64
279283
restart: unless-stopped
280284
networks:
281285
- pecan
@@ -292,6 +296,7 @@ services:
292296
hostname: sipnet-git
293297
user: "${UID:-1001}:${GID:-1001}"
294298
image: pecan/model-sipnet-git:${PECAN_VERSION:-latest}
299+
platform: linux/amd64
295300
restart: unless-stopped
296301
networks:
297302
- pecan
@@ -340,6 +345,7 @@ services:
340345
hostname: biocro-0_95
341346
user: "${UID:-1001}:${GID:-1001}"
342347
image: pecan/model-biocro-0.95:${PECAN_VERSION:-latest}
348+
platform: linux/amd64
343349
restart: unless-stopped
344350
networks:
345351
- pecan
@@ -428,3 +434,4 @@ volumes:
428434
pecan:
429435
rstudio:
430436

437+

0 commit comments

Comments
 (0)