Skip to content

Commit

Permalink
use pre-built frontend image
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gilber committed Nov 3, 2023
1 parent 08bb5eb commit 98a3ba7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ template: |
## Install from the command line
```sh
DEMOAPP_BACKEND_IMAGE="ghcr.io/$OWNER/$REPOSITORY:v$RESOLVED_VERSION" docker compose --project-directory deploy/docker-compose up
DEMOAPP_FRONTEND_IMAGE="ghcr.io/$OWNER/$REPOSITORY:v$RESOLVED_VERSION" docker compose --project-directory deploy/docker-compose up
```
8 changes: 4 additions & 4 deletions deploy/docker-compose/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ services:
depends_on:
demoapp-backend:
condition: service_healthy # healthy status is indicated by `healthcheck` keyword
# image: ${DEMOAPP_FRONTEND_IMAGE} # use image specified in .env file
image: ${DEMOAPP_FRONTEND_IMAGE} # use image specified in .env file
# Build image from Containerfile
build:
context: ../../
dockerfile: Containerfile
# build:
# context: ../../
# dockerfile: Containerfile
environment:
REACT_APP_DEMOAPP_BACKEND_URL: "${DEMOAPP_BACKEND_URL}" # Override default demoapp-backend url
healthcheck:
Expand Down

0 comments on commit 98a3ba7

Please sign in to comment.