Skip to content

Commit

Permalink
Added platform linux/amd64 to docker services
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCalvert committed Nov 27, 2023
1 parent 7cb67f4 commit 1656b2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
platforms:
- linux/amd64
image: ${COMPOSE_PROJECT_NAME}-ckan-dev
platform: linux/amd64
env_file:
- .env
depends_on:
Expand Down Expand Up @@ -45,6 +46,7 @@ services:
- CKAN_IMAGE=${COMPOSE_PROJECT_NAME}-ckan-dev
platforms:
- linux/amd64
platform: linux/amd64
env_file:
- .env
depends_on:
Expand Down Expand Up @@ -88,6 +90,7 @@ services:

solr:
image: ckan/ckan-solr:${SOLR_IMAGE_VERSION}
platform: linux/amd64
volumes:
- solr_data:/var/solr
restart: unless-stopped
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
ckan:
container_name: ${CKAN_CONTAINER_NAME}
image: ${COMPOSE_PROJECT_NAME}-${CKAN_CONTAINER_NAME}
platform: linux/amd64
build:
context: ckan/
dockerfile: Dockerfile
Expand Down Expand Up @@ -55,6 +56,7 @@ services:
ckan-worker:
container_name: ${WORKER_CONTAINER_NAME}
image: ${COMPOSE_PROJECT_NAME}-${WORKER_CONTAINER_NAME}
platform: linux/amd64
build:
context: ckan/
dockerfile: Dockerfile.worker
Expand Down Expand Up @@ -112,6 +114,7 @@ services:
networks:
- solrnet
image: ckan/ckan-solr:${SOLR_IMAGE_VERSION}
platform: linux/amd64
volumes:
- solr_data:/var/solr
restart: unless-stopped
Expand Down

0 comments on commit 1656b2d

Please sign in to comment.