From 1656b2dfe6029157835cac4782a2c9a41fd84e1e Mon Sep 17 00:00:00 2001 From: MarkCalvert <37602611+MarkCalvert@users.noreply.github.com> Date: Tue, 28 Nov 2023 10:51:58 +1300 Subject: [PATCH] Added platform linux/amd64 to docker services --- docker-compose.dev.yml | 3 +++ docker-compose.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 1caa7d4c..521a8112 100755 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -16,6 +16,7 @@ services: platforms: - linux/amd64 image: ${COMPOSE_PROJECT_NAME}-ckan-dev + platform: linux/amd64 env_file: - .env depends_on: @@ -45,6 +46,7 @@ services: - CKAN_IMAGE=${COMPOSE_PROJECT_NAME}-ckan-dev platforms: - linux/amd64 + platform: linux/amd64 env_file: - .env depends_on: @@ -88,6 +90,7 @@ services: solr: image: ckan/ckan-solr:${SOLR_IMAGE_VERSION} + platform: linux/amd64 volumes: - solr_data:/var/solr restart: unless-stopped diff --git a/docker-compose.yml b/docker-compose.yml index 7e35e82f..2064ac86 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 @@ -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 @@ -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