Skip to content

Commit f451e3e

Browse files
committed
fix: docker arm amd64 incompatbility cloud
1 parent ac6c2cf commit f451e3e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

backend/.env-template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ INFLUXDB_ORG=offlinery
2121
INFLUXDB_BUCKET=logs
2222
INFLUXDB_ADMIN_TOKEN=your-super-secret-admin-token
2323
GRAFANA_USER=admin
24-
GRAFANA_PASSWORD=admin
24+
GRAFANA_PASSWORD=admin
25+
DOCKER_DEFAULT_PLATFORM=linux/amd64

backend/docker-compose.prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ services:
8484

8585
backend:
8686
image: europe-west6-docker.pkg.dev/offlinery-439317/offlinery-backend/nestjs:${BACKEND_DOCKER_TAG:-latest}
87+
platform: linux/amd64
8788
build:
8889
context: .
8990
dockerfile: Dockerfile

0 commit comments

Comments
 (0)