Skip to content

Commit

Permalink
Afficher la version de l'application dans l'IHM #54
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpochat committed Dec 14, 2024
1 parent ffb0e04 commit 51559dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ services:
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=${keycloak_admin_password:-admin}
#- KEYCLOAK_IMPORT=/opt/keycloak/realm/realm.json
- KC_DB=postgres
- KC_DB_URL=jdbc:postgresql://database:5432/identity
- KC_DB_USERNAME=identity
Expand Down Expand Up @@ -88,6 +87,7 @@ services:
- benjaminpochat/viandeendirect-frontend-producer:latest
args:
REACT_APP_MODE: PRODUCER
REACT_APP_VERSION: ${DOCKER_IMAGE_TAG}
image: benjaminpochat/viandeendirect-frontend-producer:${DOCKER_IMAGE_TAG}
volumes:
- ${frontend_producer_config_path:-./frontend-producer-config}:/usr/local/apache2/htdocs/config
Expand All @@ -103,6 +103,7 @@ services:
- benjaminpochat/viandeendirect-frontend-customer:latest
args:
REACT_APP_MODE: CUSTOMER
REACT_APP_VERSION: ${DOCKER_IMAGE_TAG}
image: benjaminpochat/viandeendirect-frontend-customer:${DOCKER_IMAGE_TAG}
volumes:
- ${frontend_customer_config_path:-./frontend-customer-config}:/usr/local/apache2/htdocs/config
Expand Down
1 change: 1 addition & 0 deletions frontend/app/src/domains/commons/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default function Footer() {
 sur 
<a target='_blank' href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>
</div>
<div>{process?.env?.REACT_APP_MODE || 'version indéfinie'}</div>
</div>
{displayGeneralTermsAndConditions()}
</>
Expand Down

0 comments on commit 51559dd

Please sign in to comment.