Skip to content

Commit

Permalink
fix(docker): set correct platform (#2101)
Browse files Browse the repository at this point in the history
## Describe your changes

Reported on community's slack. We don't compile image for macos which is
painful when you to quickly test. It works out of the box, but will be
slower when emulation needs to kick in
  • Loading branch information
bodinsamuel authored May 6, 2024
1 parent eb0f4d8 commit 267a07f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ services:
nango-server:
image: nangohq/nango-server:hosted
container_name: nango-server
platform: linux/amd64
environment:
- NANGO_DB_MIGRATION_FOLDER=/usr/nango-server/src/packages/shared/lib/db/migrations
- NANGO_ENCRYPTION_KEY=${NANGO_ENCRYPTION_KEY}
Expand Down
3 changes: 3 additions & 0 deletions packages/cli/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ services:
nango-server:
image: nangohq/nango-server:hosted
container_name: nango-server
platform: linux/amd64
environment:
- TEMPORAL_ADDRESS=temporal:7233
- NANGO_DB_MIGRATION_FOLDER=/usr/nango-server/src/packages/shared/lib/db/migrations
Expand Down Expand Up @@ -54,6 +55,7 @@ services:
nango-jobs:
image: nangohq/nango-jobs:production
container_name: nango-jobs
platform: linux/amd64
restart: always
ports:
- '${WORKER_PORT:-3004}:${WORKER_PORT:-3004}'
Expand Down Expand Up @@ -81,6 +83,7 @@ services:
nango-persist:
image: nangohq/nango-persist:production
container_name: nango-persist
platform: linux/amd64
restart: always
ports:
- '${PERSIST_PORT:-3007}:${PERSIST_PORT:-3007}'
Expand Down

0 comments on commit 267a07f

Please sign in to comment.