mirror of
https://github.com/dedicatedcode/reitti.git
synced 2026-01-10 09:57:57 -05:00
Integration fixes (#168)
This commit is contained in:
60
README.md
60
README.md
@@ -185,35 +185,35 @@ The included `docker-compose.yml` provides a complete setup with:
|
||||
|
||||
### Environment Variables
|
||||
|
||||
| Variable | Description | Default | Example |
|
||||
|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|-------------------------------------------|
|
||||
| `POSTGIS_HOST` | PostgreSQL database host | postgis | postgis |
|
||||
| `POSTGIS_PORT` | PostgreSQL database port | 5432 | 5432 |
|
||||
| `POSTGIS_DB` | PostgreSQL database name | reittidb | reittidb |
|
||||
| `POSTGIS_USER` | Database username | reitti | reitti |
|
||||
| `POSTGIS_PASSWORD` | Database password | reitti | reitti |
|
||||
| `RABBITMQ_HOST` | RabbitMQ host | rabbitmq | rabbitmq |
|
||||
| `RABBITMQ_PORT` | RabbitMQ port | 5672 | 5672 |
|
||||
| `RABBITMQ_USER` | RabbitMQ username | reitti | reitti |
|
||||
| `RABBITMQ_PASSWORD` | RabbitMQ password | reitti | reitti |
|
||||
| `REDIS_HOST` | Redis host | redis | redis |
|
||||
| `REDIS_PORT` | Redis port | 6379 | 6379 |
|
||||
| `REDIS_USERNAME` | Redis username (optional) | | username |
|
||||
| `REDIS_PASSWORD` | Redis password (optional) | | password |
|
||||
| `OIDC_ENABLED` | Whether to enable OIDC sign-ins | false | true |
|
||||
| `OIDC_CLIENT_ID` | Your OpenID Connect Client ID (from your provider) | | google |
|
||||
| `OIDC_CLIENT_SECRET` | Your OpenID Connect Client secret (from your provider) | | F0oxfg8b2rp5X97YPS92C2ERxof1oike |
|
||||
| `OIDC_PROVIDER_URI` | Your OpenID Connect Provider Discovery URI (don't include the /.well-known/openid-configuration part of the URI) | | https://github.com/login/oauth |
|
||||
| `OIDC_SCOPE` | Your OpenID Connect scopes for your user (optional) | openid,profile | openid,profile |
|
||||
| `PHOTON_BASE_URL` | Base URL for Photon geocoding service | | |
|
||||
| `PROCESSING_WAIT_TIME` | How many seconds to wait after the last data input before starting to process all unprocessed data. (⚠️ This needs to be lower than your integrated app reports data in Reitti) | 15 | 15 |
|
||||
| `DANGEROUS_LIFE` | Enables data management features that can reset/delete all database data (⚠️ USE WITH CAUTION) | false | true |
|
||||
| `CUSTOM_TILES_SERVICE` | Custom tile service URL template | | https://tiles.example.com/{z}/{x}/{y}.png |
|
||||
| `CUSTOM_TILES_ATTRIBUTION` | Custom attribution text for the tile service | | |
|
||||
| `SERVER_PORT` | Application server port | 8080 | 8080 |
|
||||
| `APP_UID` | User ID to run the application as | 1000 | 1000 |
|
||||
| `APP_GID` | Group ID to run the application as | 1000 | 1000 |
|
||||
| `JAVA_OPTS` | JVM options | | |
|
||||
| Variable | Description | Default | Example |
|
||||
|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|-------------------------------------------|
|
||||
| `POSTGIS_HOST` | PostgreSQL database host | postgis | postgis |
|
||||
| `POSTGIS_PORT` | PostgreSQL database port | 5432 | 5432 |
|
||||
| `POSTGIS_DB` | PostgreSQL database name | reittidb | reittidb |
|
||||
| `POSTGIS_USER` | Database username | reitti | reitti |
|
||||
| `POSTGIS_PASSWORD` | Database password | reitti | reitti |
|
||||
| `RABBITMQ_HOST` | RabbitMQ host | rabbitmq | rabbitmq |
|
||||
| `RABBITMQ_PORT` | RabbitMQ port | 5672 | 5672 |
|
||||
| `RABBITMQ_USER` | RabbitMQ username | reitti | reitti |
|
||||
| `RABBITMQ_PASSWORD` | RabbitMQ password | reitti | reitti |
|
||||
| `REDIS_HOST` | Redis host | redis | redis |
|
||||
| `REDIS_PORT` | Redis port | 6379 | 6379 |
|
||||
| `REDIS_USERNAME` | Redis username (optional) | | username |
|
||||
| `REDIS_PASSWORD` | Redis password (optional) | | password |
|
||||
| `OIDC_ENABLED` | Whether to enable OIDC sign-ins | false | true |
|
||||
| `OIDC_CLIENT_ID` | Your OpenID Connect Client ID (from your provider) | | google |
|
||||
| `OIDC_CLIENT_SECRET` | Your OpenID Connect Client secret (from your provider) | | F0oxfg8b2rp5X97YPS92C2ERxof1oike |
|
||||
| `OIDC_PROVIDER_URI` | Your OpenID Connect Provider Discovery URI (don't include the /.well-known/openid-configuration part of the URI) | | https://github.com/login/oauth |
|
||||
| `OIDC_SCOPE` | Your OpenID Connect scopes for your user | | openid,profile |
|
||||
| `PHOTON_BASE_URL` | Base URL for Photon geocoding service | | |
|
||||
| `PROCESSING_WAIT_TIME` | How many seconds to wait after the last data input before starting to process all unprocessed data. (⚠️ This needs to be lower than your integrated app reports data in Reitti) | 15 | 15 |
|
||||
| `DANGEROUS_LIFE` | Enables data management features that can reset/delete all database data (⚠️ USE WITH CAUTION) | false | true |
|
||||
| `CUSTOM_TILES_SERVICE` | Custom tile service URL template | | https://tiles.example.com/{z}/{x}/{y}.png |
|
||||
| `CUSTOM_TILES_ATTRIBUTION` | Custom attribution text for the tile service | | |
|
||||
| `SERVER_PORT` | Application server port | 8080 | 8080 |
|
||||
| `APP_UID` | User ID to run the application as | 1000 | 1000 |
|
||||
| `APP_GID` | Group ID to run the application as | 1000 | 1000 |
|
||||
| `JAVA_OPTS` | JVM options | | |
|
||||
|
||||
### Tags
|
||||
|
||||
@@ -368,7 +368,7 @@ Reitti supports using a third party OIDC provider for sign-ins. It provides the
|
||||
- `OIDC_CLIENT_ID`
|
||||
- `OIDC_CLIENT_SECRET`
|
||||
- `OIDC_ISSUER_URI`
|
||||
- `OIDC_SCOPE` (optional: should usually be set to "openid,profile")
|
||||
- `OIDC_SCOPE` (should usually be set to "openid,profile")
|
||||
|
||||
Setting `OIDC_ENABLED = true` enables OIDC, whereas the remaining need to be found from your OIDC provider, e.g. github. See the [Environment Variables](#environment-variables) section for examples.
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ reitti.security.oidc.enabled=${OIDC_ENABLED:false}
|
||||
spring.security.oauth2.client.registration.oauth.client-id=${OIDC_CLIENT_ID:}
|
||||
spring.security.oauth2.client.registration.oauth.client-secret=${OIDC_CLIENT_SECRET:}
|
||||
spring.security.oauth2.client.provider.oauth.issuer-uri=${OIDC_ISSUER_URI:}
|
||||
spring.security.oauth2.client.registration.oauth.scope=${OIDC_SCOPE:openid,profile}
|
||||
spring.security.oauth2.client.registration.oauth.scope=${OIDC_SCOPE}
|
||||
|
||||
reitti.data-management.enabled=${DANGEROUS_LIFE:false}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user