Skip to content

Commit c5f98a7

Browse files
committed
corrects rust-app image reference to ghcr and updates nextjs-app to use image from ghcr instead of build
1 parent 0d47844 commit c5f98a7

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

docker-compose.yaml

+3-12
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
retries: 5
2323

2424
rust-app:
25-
image: ${IMAGE_NAME}
25+
image: ${BACKEND_IMAGE_NAME}
2626
platform: ${PLATFORM}
2727
container_name: ${CONTAINER_NAME}
2828
environment:
@@ -49,17 +49,8 @@ services:
4949
- backend_network
5050

5151
nextjs-app:
52-
build:
53-
context: ${FRONTEND_CONTEXT}
54-
dockerfile: Dockerfile
55-
target: runner
56-
args:
57-
NEXT_PUBLIC_BACKEND_SERVICE_PROTOCOL: ${BACKEND_SERVICE_PROTOCOL}
58-
NEXT_PUBLIC_BACKEND_SERVICE_PORT: ${BACKEND_PORT}
59-
NEXT_PUBLIC_BACKEND_SERVICE_HOST: ${BACKEND_SERVICE_HOST}
60-
NEXT_PUBLIC_BACKEND_API_VERSION: ${BACKEND_API_VERSION}
61-
FRONTEND_SERVICE_PORT: ${FRONTEND_SERVICE_PORT}
62-
FRONTEND_SERVICE_INTERFACE: ${FRONTEND_SERVICE_INTERFACE}
52+
image: ${FRONTEND_IMAGE_NAME}
53+
container_name: ${FRONTEND_CONTAINER_NAME}
6354
environment:
6455
NEXT_PUBLIC_BACKEND_SERVICE_PROTOCOL: ${BACKEND_SERVICE_PROTOCOL}
6556
NEXT_PUBLIC_BACKEND_SERVICE_PORT: ${BACKEND_PORT}

0 commit comments

Comments
 (0)