38 lines
651 B
Markdown
38 lines
651 B
Markdown
# vault
|
|
|
|
## Configuration
|
|
|
|
Three dotenv files are expected under `/etc/opt/...`:
|
|
|
|
```bash
|
|
# vault-exporter.env
|
|
|
|
DATA_SOURCE_URI=<db-host>:<db-port>?sslmode=disable
|
|
DATA_SOURCE_USER=<db-user>
|
|
DATA_SOURCE_PASS=<db-pass>
|
|
```
|
|
|
|
```bash
|
|
# vault-db-init.env
|
|
|
|
POSTGRES_PASSWORD=<db-pass>
|
|
```
|
|
|
|
```bash
|
|
# vault-db.env
|
|
|
|
DATABASE_URL=<db-connection-string>
|
|
```
|
|
|
|
## Volumes
|
|
|
|
The service will set up two volumes:
|
|
|
|
- `vault_db` - Postgres data volume used for persistent storage;
|
|
- `vault_data` - Persistent storage for the application itself.
|
|
|
|
## Ports
|
|
|
|
The application is accessible via `:8082`.
|
|
|
|
Other ports are exposed (i.e. `:8083`) to allow telemetry polling.
|