diff --git a/README.md b/README.md index 04d7b5e..7d85e43 100644 --- a/README.md +++ b/README.md @@ -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:d-sys@datasektionen.se) - -| 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 |