Skip to content

Commit

Permalink
Specify platform for non-cross-platform docker images (for local dev)
Browse files Browse the repository at this point in the history
  • Loading branch information
forevermatt committed Dec 2, 2024
1 parent 2ace687 commit 4b0fa41
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ services:

test-browser:
image: justinribeiro/chrome-headless:stable
platform: linux/amd64
ports:
- "9222:9222"
cap_add:
Expand Down Expand Up @@ -258,6 +259,7 @@ services:

ssp-sp1.local:
image: silintl/ssp-base:9.3.0
platform: linux/amd64
volumes:
# Utilize custom certs
- ./development/sp-local/cert:/data/vendor/simplesamlphp/simplesamlphp/cert
Expand All @@ -284,6 +286,7 @@ services:

ssp-sp2.local:
image: silintl/ssp-base:9.3.0
platform: linux/amd64
volumes:
# Utilize custom certs
- ./development/sp2-local/cert:/data/vendor/simplesamlphp/simplesamlphp/cert
Expand All @@ -307,6 +310,7 @@ services:

ssp-sp3.local:
image: silintl/ssp-base:9.3.0
platform: linux/amd64
volumes:
# Utilize custom certs
- ./development/sp3-local/cert:/data/vendor/simplesamlphp/simplesamlphp/cert
Expand All @@ -332,6 +336,7 @@ services:

pwmanager.local:
image: silintl/ssp-base:9.3.0
platform: linux/amd64
volumes:
# Utilize custom certs
- ./development/sp-local/cert:/data/vendor/simplesamlphp/simplesamlphp/cert
Expand All @@ -354,6 +359,7 @@ services:
# the broker and brokerDb containers are used by the silauth module
broker:
image: silintl/idp-id-broker:latest
platform: linux/amd64
ports:
- "80"
depends_on:
Expand Down Expand Up @@ -413,6 +419,7 @@ services:

dynamo:
image: cnadiminti/dynamodb-local
platform: linux/amd64
command: "-sharedDb -inMemory"
hostname: dynamo
ports:
Expand All @@ -422,6 +429,7 @@ services:

init-dynamo:
image: garland/aws-cli-docker
platform: linux/amd64
command: "/init-dynamodb.sh"
volumes:
- ./development/init-dynamodb.sh:/init-dynamodb.sh
Expand Down

0 comments on commit 4b0fa41

Please sign in to comment.