Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docker): linux/amd64 platform issue in docker compose #3436

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ services:
# ----------------------------------------------------------------------
bety:
image: pecan/bety:${BETY_VERSION:-latest}
platform: linux/amd64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has arm

restart: unless-stopped
networks:
- pecan
Expand All @@ -97,6 +98,7 @@ services:
# PEcAn documentation as well as PEcAn home page
docs:
image: pecan/docs:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand Down Expand Up @@ -152,6 +154,7 @@ services:
executor:
user: "${UID:-1001}:${GID:-1001}"
image: pecan/executor:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand All @@ -174,6 +177,7 @@ services:
basgra:
user: "${UID:-1001}:${GID:-1001}"
image: pecan/model-basgra-basgra_n_v1.0:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand All @@ -188,6 +192,7 @@ services:
sipnet:
user: "${UID:-1001}:${GID:-1001}"
image: pecan/model-sipnet-git:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand All @@ -203,6 +208,7 @@ services:
user: "${UID:-1001}:${GID:-1001}"
image: pecan/model-ed2-2.2.0:${PECAN_VERSION:-latest}
restart: unless-stopped
platform: linux/amd64
networks:
- pecan
environment:
Expand All @@ -216,6 +222,7 @@ services:
maespa:
user: "${UID:-1001}:${GID:-1001}"
image: pecan/model-maespa-git:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ services:
docs:
hostname: docs
image: pecan/docs:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand Down Expand Up @@ -207,6 +208,7 @@ services:
hostname: monitor
user: "${UID:-1001}:${GID:-1001}"
image: pecan/monitor:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand Down Expand Up @@ -236,6 +238,7 @@ services:
hostname: executor
user: "${UID:-1001}:${GID:-1001}"
image: pecan/executor:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand Down Expand Up @@ -276,6 +279,7 @@ services:
hostname: basgra
user: "${UID:-1001}:${GID:-1001}"
image: pecan/model-basgra-basgra_n_v1.0:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand All @@ -292,6 +296,7 @@ services:
hostname: sipnet-git
user: "${UID:-1001}:${GID:-1001}"
image: pecan/model-sipnet-git:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand Down Expand Up @@ -340,6 +345,7 @@ services:
hostname: biocro-0_95
user: "${UID:-1001}:${GID:-1001}"
image: pecan/model-biocro-0.95:${PECAN_VERSION:-latest}
platform: linux/amd64
restart: unless-stopped
networks:
- pecan
Expand Down Expand Up @@ -428,3 +434,4 @@ volumes:
pecan:
rstudio: