lecoffre-front/.env.example
Debian Dev4 f286d6864c
Some checks failed
build-and-push-ext / build_push (push) Failing after 6s
ci: docker_tag=ext - Fix CI build with runtime environment variables
- Add Dockerfile.ci for generic builds without hardcoded environment variables
- Add start-runtime.js script to inject NEXT_PUBLIC_* variables at runtime
- Add .env.example with default values for development
- Remove dependency on build-time ARG variables for CI compatibility
- Image can now be deployed to any environment with different variables
2025-09-23 23:36:20 +00:00

38 lines
1.2 KiB
Plaintext

# Configuration par défaut pour le build CI
# Ces valeurs seront surchargées par les variables d'environnement au runtime
# Backend API
NEXT_PUBLIC_BACK_API_PROTOCOL=https
NEXT_PUBLIC_BACK_API_HOST=localhost
NEXT_PUBLIC_BACK_API_PORT=443
NEXT_PUBLIC_BACK_API_ROOT_URL=/api
NEXT_PUBLIC_BACK_API_VERSION=v1
# Frontend
NEXT_PUBLIC_FRONT_APP_HOST=http://localhost:3000
NEXT_PUBLIC_FRONT_APP_PORT=3000
# IDNOT Configuration
NEXT_PUBLIC_IDNOT_BASE_URL=https://qual-connexion.idnot.fr
NEXT_PUBLIC_IDNOT_AUTHORIZE_ENDPOINT=/IdPOAuth2/authorize/idnot_idp_v1
NEXT_PUBLIC_IDNOT_CLIENT_ID=default_client_id
NEXT_PUBLIC_IDNOT_REDIRECT_URI=http://localhost:3000/authorized-client
NEXT_PUBLIC_IDNOT_REDIRECT_URI_FIXED=http://local.4nkweb.com:3000/authorized-client
# 4NK Configuration
NEXT_PUBLIC_4NK_URL=http://localhost:3000
NEXT_PUBLIC_4NK_IFRAME_URL=http://localhost:3000
# Backend Base
NEXT_PUBLIC_BACK_BASE=http://localhost:8080
# API Configuration
NEXT_PUBLIC_API_URL=http://localhost:8080/api
NEXT_PUBLIC_DEFAULT_VALIDATOR_ID=default_validator_id
NEXT_PUBLIC_DEFAULT_STORAGE_URLS=http://localhost:8080/storage
# Optional configurations
NEXT_PUBLIC_DOCAPOSTE_API_URL=
NEXT_PUBLIC_HOTJAR_SITE_ID=
NEXT_PUBLIC_HOTJAR_VERSION=