Docker Compose Environment Variables
These are the environment variables that can be added to a .env file, which should be created in the same directory as the docker-compose.yml file to configure the installation. The default values are shown in the table below.
| Key | Type | Description | Default |
|---|---|---|---|
| POSTGRES_USER | string | The username for the PostgreSQL database. | postgres |
| POSTGRES_PASSWORD | string | The password for the PostgreSQL database. | postgres |
| POSTGRES_DB | string | The name of the PostgreSQL database. | keycloak |
| TLS_CERT | string | The path to the TLS certificate file. | /etc/ssl/certs/tls.crt |
| TLS_KEY | string | The path to the TLS key file. | /etc/ssl/private/tls.key |
| KEYCLOAK_URL | string | The URL for Keycloak. E.g. https://keycloak.example.com (Required) | |
| KC_ADMIN_USER | string | The admin username for Keycloak. (Required) | |
| KC_ADMIN_PASSWORD | string | The admin password for Keycloak. (Required) |