Skip to content

Commit

Permalink
Add missing env vars for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Mar 27, 2024
1 parent 63a2002 commit d0f7a8e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function App({ auth }: AppProps) {
</FrontendErrorBoundary>
</RsuiteCustomProvider>
{/* This script is used to inject the chat */}
<script src="https://embed.small.chat/T0176BBUCEQC01SV3W4464.js" async/>
<script async src="https://embed.small.chat/T0176BBUCEQC01SV3W4464.js" />
</ThemeProvider>
)
}
28 changes: 19 additions & 9 deletions infra/remote/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,30 @@ services:
container_name: monitorfish_backend
user: "monitorfish:${MONITORFISH_LOGS_AND_BACKUPS_GID}"
environment:
- ENV_DB_URL=jdbc:postgresql://db:5432/$POSTGRES_DB?user=$POSTGRES_USER&password=$POSTGRES_PASSWORD
- FRONTEND_GEOSERVER_REMOTE_URL=https://monitorfish.din.developpement-durable.gouv.fr
- FRONTEND_GEOSERVER_LOCAL_URL=https://10.56.205.25:8082
- FRONTEND_SENTRY_ENV=${SENTRY_ENV}
- SENTRY_DSN=${SENTRY_DSN}
- FRONTEND_SENTRY_TRACING_ORIGINS=${SENTRY_TRACING_ORIGINS}
- FRONTEND_MONITORFISH_VERSION=${MONITORFISH_VERSION}
- SPRING_PROFILES_ACTIVE=prod
- HOST_IP=127.0.0.1
- FRONTEND_MONITORENV_URL=${MONITORENV_URL}
- MONITORENV_URL=${MONITORENV_URL}
- ENV_DB_URL=jdbc:postgresql://db:5432/$POSTGRES_DB?user=$POSTGRES_USER&password=$POSTGRES_PASSWORD
- FRONTEND_GEOSERVER_REMOTE_URL=$MONITORFISH_GEOSERVER_REMOTE_URL
- FRONTEND_GEOSERVER_LOCAL_URL=$MONITORFISH_GEOSERVER_LOCAL_URL
- FRONTEND_MONITORENV_URL=$MONITORFISH_MONITORENV_PUBLIC_URL
- MONITORENV_URL=$MONITORFISH_MONITORENV_URL
- FRONTEND_MAPBOX_KEY=$MONITORFISH_MAPBOX_KEY
- FRONTEND_SHOM_KEY=$MONITORFISH_SHOM_KEY
- FRONTEND_OIDC_ENABLED=$MONITORFISH_OIDC_ENABLED
- MONITORFISH_OIDC_ENABLED=$MONITORFISH_OIDC_ENABLED
- FRONTEND_OIDC_REDIRECT_URI=$MONITORFISH_OIDC_REDIRECT_URI
- FRONTEND_OIDC_AUTHORITY=$MONITORFISH_OIDC_AUTHORITY
- FRONTEND_OIDC_CLIENT_ID=$MONITORFISH_OIDC_CLIENT
- MONITORFISH_API_PROTECTED_API_KEY=$MONITORFISH_API_PROTECTED_API_KEY
- MONITORFISH_API_PROTECTED_PATHS=$MONITORFISH_API_PROTECTED_PATHS
- MONITORFISH_API_PROTECTED_PUBLIC_PATHS=$MONITORFISH_API_PROTECTED_PUBLIC_PATHS
- FRONTEND_SENTRY_ENV=$MONITORFISH_SENTRY_ENV
- SENTRY_DSN=$MONITORFISH_SENTRY_DSN
- FRONTEND_SENTRY_DSN=$MONITORFISH_SENTRY_DSN
- FRONTEND_SENTRY_TRACING_ORIGINS=$MONITORFISH_SENTRY_TRACING_ORIGINS
- FRONTEND_MONITORFISH_VERSION=$MONITORFISH_VERSION
- FRONTEND_MISSION_FORM_AUTO_SAVE_ENABLED=$MONITORFISH_MISSION_FORM_AUTO_SAVE_ENABLED
- FRONTEND_MISSION_FORM_AUTO_UPDATE_ENABLED=$MONITORFISH_MISSION_FORM_AUTO_UPDATE_ENABLED
ports:
- 8880:8880
- 8000:8000
Expand Down

0 comments on commit d0f7a8e

Please sign in to comment.