Skip to content

Commit

Permalink
Mount env file to get settings into ui container
Browse files Browse the repository at this point in the history
  • Loading branch information
soapy1 committed Dec 4, 2024
1 parent 3b95ca0 commit 1b5f6e4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,7 @@ services:
volumes:
- ./src:/usr/src/app/src
- ./style:/usr/src/app/style
environment:
- REACT_APP_API_URL=${REACT_APP_API_URL}
- REACT_APP_AUTH_METHOD=${REACT_APP_AUTH_METHOD}
- REACT_APP_LOGIN_PAGE_URL=${REACT_APP_LOGIN_PAGE_URL}
- REACT_APP_AUTH_TOKEN=${REACT_APP_AUTH_TOKEN}
- REACT_APP_STYLE_TYPE=${REACT_APP_STYLE_TYPE}
- REACT_APP_CONTEXT=${REACT_APP_CONTEXT}
- REACT_APP_SHOW_AUTH_BUTTON=${REACT_APP_SHOW_AUTH_BUTTON}
- REACT_APP_LOGOUT_PAGE_URL=${REACT_APP_LOGOUT_PAGE_URL}
- ./.env:/usr/src/app/.env
healthcheck:
test:
["CMD", "curl", "--fail", "http://localhost:8000"]
Expand Down

0 comments on commit 1b5f6e4

Please sign in to comment.