Skip to content

Commit

Permalink
build: specify target architecture (#35)
Browse files Browse the repository at this point in the history
Docker on a Mac builds for `linux/arm64` by default, so explicitly specify `linux/amd64` for staging deploys.
  • Loading branch information
eatyourgreens authored Jun 11, 2024
1 parent 6109a51 commit 2504116
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
services:
frontend:
image: ghcr.io/nismod/jsrat-frontend:0.1
platform: linux/amd64
build: ./frontend
ports:
- "3000:80"

backend:
image: ghcr.io/nismod/jsrat-backend:0.1
platform: linux/amd64
build: ./backend
ports:
- "3001:80"
Expand All @@ -16,6 +18,7 @@ services:

vector-tileserver:
image: ghcr.io/nismod/jsrat-vector-tileserver:0.1
platform: linux/amd64
build:
context: ./tileserver/vector
command:
Expand All @@ -37,6 +40,7 @@ services:

raster-tileserver:
image: ghcr.io/nismod/jsrat-raster-tileserver:0.1
platform: linux/amd64
build: ./tileserver/raster
ports:
- "3003:5000"
Expand Down

0 comments on commit 2504116

Please sign in to comment.