Hlæja concept v0.4.0
This commit is contained in:
@@ -67,9 +67,34 @@ SPRING_PROFILES_ACTIVE: docker
|
||||
|
||||
### Volume
|
||||
|
||||
Mount a local public key into the container. Read [rsa_key.md](./rsa_key.md) for how to generate.
|
||||
|
||||
Mount a local keystore into the container. Read [keystore.md](./keystore.md) for how to generate.
|
||||
|
||||
```text
|
||||
volumes:
|
||||
- ./cert/account_public_key.pem:/app/resources/cert/public_key.pem
|
||||
- ./cert/registry_api_keystore.p12:/app/resources/cert/keystore.p12
|
||||
```
|
||||
|
||||
|
||||
## Account Registry
|
||||
|
||||
### Environment
|
||||
|
||||
|
||||
```text
|
||||
SPRING_R2DBC_URL: r2dbc:postgresql://localhost:5432/account_registry
|
||||
SPRING_R2DBC_USERBAME: services
|
||||
SPRING_R2DBC_PASSWORD: password
|
||||
JWT_PRIVATE_KEY: cert/private_key.pem
|
||||
```
|
||||
|
||||
### Volume
|
||||
|
||||
Mount a local private key into the container. Read [`rsa_key.md`](./rsa_key.md) for how to generate.
|
||||
|
||||
```text
|
||||
volumes:
|
||||
- ./cert/account_private_key.pem:/app/resources/cert/private_key.pem
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user