Skip to content

Commit

Permalink
chore: set missing platform for OAB Docker images in Docker Compose t…
Browse files Browse the repository at this point in the history
…o fix 'The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested' warnings
  • Loading branch information
edgarvonk committed Feb 27, 2025
1 parent 97fde12 commit ea8d754
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ services:

openarchiefbeheer-web:
image: maykinmedia/open-archiefbeheer:0.1.0-beta.39@sha256:79f3c59248c6e7143606a096b0885e2acc2b1545a4ec1fb004c2d31bc6b61ca4
platform: linux/amd64
environment: &web_env
- ALLOWED_HOSTS="*"
# We should be able to switch off 2FA with:
Expand Down Expand Up @@ -606,6 +607,7 @@ services:

openarchiefbeheer-web-init:
image: maykinmedia/open-archiefbeheer:0.1.0-beta.39@sha256:79f3c59248c6e7143606a096b0885e2acc2b1545a4ec1fb004c2d31bc6b61ca4
platform: linux/amd64
environment: *web_env
command: /setup_configuration.sh
volumes:
Expand All @@ -619,6 +621,7 @@ services:

openarchiefbeheer-celery:
image: maykinmedia/open-archiefbeheer:0.1.0-beta.39@sha256:79f3c59248c6e7143606a096b0885e2acc2b1545a4ec1fb004c2d31bc6b61ca4
platform: linux/amd64
command: /celery_worker.sh
environment: *web_env
healthcheck:
Expand All @@ -634,6 +637,7 @@ services:

openarchiefbeheer-celery-beat:
image: maykinmedia/open-archiefbeheer:0.1.0-beta.39@sha256:79f3c59248c6e7143606a096b0885e2acc2b1545a4ec1fb004c2d31bc6b61ca4
platform: linux/amd64
command: /celery_beat.sh
environment: *web_env
depends_on:
Expand Down

0 comments on commit ea8d754

Please sign in to comment.