Skip to content

Commit

Permalink
Remove note about asking d-sys for a login api key
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Mar 28, 2024
1 parent c360e3f commit 4cd674a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ for development configuration. All config in this file will override the global

## Environment variables

A login API-key can be received by [Systemansvarig](mailto:[email protected])

| Name | Description | Default | Example |
| ---------------------------- | --------------------------- | ----------------------- | ---------------------------------------- |
| LOGIN_KEY | Login key | --- | --- |
| APPLICATION_URL | URL to backend | --- | http://localhost.datasektionen.se:8080 |
| JDBC_DATABASE_URL | URL to database | --- | jdbc:postgresql://localhost:5432/calypso |
| JDBC_DATABASE_USERNAME | Database username | --- | user |
| JDBC_DATABASE_PASSWORD | Database password | --- | password |
All necessary environment variables are set automatically when running with docker compose.

| Name | Description | Default | Example |
| ---------------------------- | --------------------------- | ------------------------------ | ---------------------------------------- |
| LOGIN_KEY | Login key | --- | --- |
| LOGIN_FRONTEND_URL | URL from browser to login | https://login.datasektionen.se | http://localhost:7002/ |
| LOGIN_API_URL | URL from backend to login | https://login.datasektionen.se | http://login:7002/ |
| APPLICATION_URL | URL where calypso is hosted | --- | http://localhost.datasektionen.se:8080 |
| JDBC_DATABASE_URL | URL to database | --- | jdbc:postgresql://localhost:5432/calypso |
| JDBC_DATABASE_USERNAME | Database username | --- | user |
| JDBC_DATABASE_PASSWORD | Database password | --- | password |

0 comments on commit 4cd674a

Please sign in to comment.