Skip to content

Commit

Permalink
EFRS-1045 Add multiplatform compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutau committed Feb 15, 2023
1 parent 8e2725d commit a3af9a3
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
32 changes: 32 additions & 0 deletions dev/docker-compose.multiplatform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: '3.4'

services:
compreface-postgres-db:
build:
platforms:
- "linux/amd64"
- "linux/arm64"

compreface-admin:
build:
platforms:
- "linux/amd64"
- "linux/arm64"

compreface-api:
build:
platforms:
- "linux/amd64"
- "linux/arm64"

compreface-fe:
build:
platforms:
- "linux/amd64"
- "linux/arm64"

compreface-core:
build:
platforms:
- "linux/amd64"
- "linux/arm64"
3 changes: 2 additions & 1 deletion dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ services:
image: ${registry}compreface-postgres-db:${POSTGRES_VERSION}
restart: always
container_name: "compreface-postgres-db"
build: ../db
build:
context: ../db
ports:
- "6432:5432"
environment:
Expand Down
2 changes: 1 addition & 1 deletion ui/docker-prod/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12.7-alpine AS build
FROM node:12.7 AS build
WORKDIR /usr/src/app
LABEL intermidiate_frs=true
COPY . .
Expand Down

0 comments on commit a3af9a3

Please sign in to comment.