Skip to content

Commit

Permalink
fix: Docker-compose specify platform to get around arm vs amd arch mi…
Browse files Browse the repository at this point in the history
…smatches (#241)
  • Loading branch information
Eduardo Lopez authored Mar 30, 2022
1 parent 4e7bf79 commit 5c2a4b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .happy/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"terraform_version": "0.13.5",
"default_env": "rdev",
"app": "hosted-cellxgene",
"default_compose_env_file": ".env.ecr",

This comment has been minimized.

Copy link
@edulop91

edulop91 Mar 31, 2022

Contributor

@atolopko-czi -- I think the change went through!

"default_compose_env": ".env.ecr",
"environments": {
"rdev": {
Expand Down
13 changes: 7 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ services:
volumes:
- localstack:/tmp/localstack
networks:
corporanet:
aliases:
- localstack.corporanet.local
corporanet:
aliases:
- localstack.corporanet.local

explorer:
image: "${DOCKER_REPO}corpora-explorer"
platform: linux/amd64
build:
context: .
dockerfile: hosted/Dockerfile
Expand Down Expand Up @@ -57,9 +58,9 @@ services:
# SecretsManager population relies on oauth json
- ./oauth/users.json:/oauth/users.json
networks:
corporanet:
aliases:
- backend.corporanet.local
corporanet:
aliases:
- backend.corporanet.local
networks:
corporanet:
volumes:
Expand Down

0 comments on commit 5c2a4b3

Please sign in to comment.