Skip to content

Commit

Permalink
Set platform in docker-compose so it works on macos (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
rho-novatron authored Aug 26, 2024
1 parent 314df69 commit c342968
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions admin/docker/docker-compose-internal-lb.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
services:
head:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${HEAD_RAM}
Expand All @@ -18,6 +19,7 @@ services:
volumes:
- ${PWD}/admin/config/:/config/
dn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${DN_RAM}
Expand All @@ -37,6 +39,7 @@ services:
volumes:
- ${PWD}/admin/config/:/config/
sn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${SN_RAM}
Expand Down
3 changes: 3 additions & 0 deletions admin/docker/docker-compose.aws.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
services:
head:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${HEAD_RAM}
Expand All @@ -19,6 +20,7 @@ services:
- ${PWD}/admin/config/:/config/

dn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${DN_RAM}
Expand All @@ -40,6 +42,7 @@ services:
- head

sn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${SN_RAM}
Expand Down
5 changes: 4 additions & 1 deletion admin/docker/docker-compose.azure.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
services:
head:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${HEAD_RAM}
Expand All @@ -16,6 +17,7 @@ services:
- ${PWD}/admin/config/:/config/

dn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${DN_RAM}
Expand All @@ -34,6 +36,7 @@ services:
- head

sn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${SN_RAM}
Expand All @@ -51,4 +54,4 @@ services:
volumes:
- ${PWD}/admin/config/:/config/
links:
- head
- head
3 changes: 3 additions & 0 deletions admin/docker/docker-compose.posix.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
services:
head:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${HEAD_RAM}
Expand All @@ -16,6 +17,7 @@ services:
- ${PWD}/admin/config/:/config/

dn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${DN_RAM}
Expand All @@ -33,6 +35,7 @@ services:
links:
- head
sn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${SN_RAM}
Expand Down
3 changes: 3 additions & 0 deletions admin/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
services:
head:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${HEAD_RAM}
Expand All @@ -19,6 +20,7 @@ services:
- ${PWD}/admin/config/:/config/

dn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${DN_RAM}
Expand All @@ -40,6 +42,7 @@ services:
- head

sn:
platform: "linux/amd64"
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${SN_RAM}
Expand Down

0 comments on commit c342968

Please sign in to comment.