Skip to main content
Version: 1.0

Configuration sample files

Here are sample configurations that you can copy and use as templates for your configuration.

Deployment configuration file

This is an example of a basic deployment configuration file for ADM, with the essential properties configured. You can copy this and use as a starting point for custom adaptations. In all our examples, this file is named deployment.yaml.

deployment.yaml

server:
applicationConnectors:
- type: http
port: 8080
adminConnectors:
- type: http
port: 8081

logging:
level: INFO
loggers:
# Set value to INFO to enable.
AUDIT: OFF
com.axiomatics.domainmanager.authorizer.PdpAuthorizer: OFF
appenders:
- type: console
target: stdout
timeZone: system

database:
driverClass: org.postgresql.Driver
user: ${DB_USER}
password: ${DB_PASSWORD}
url: jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_SCHEMA}
properties:
charSet: UTF-8
maxWaitForConnection: 1s
validationQuery: "/* Health Check */ SELECT 1"
validationQueryTimeout: 3s
minSize: 8
maxSize: 32
checkConnectionWhileIdle: false
checkConnectionOnBorrow: true
evictionInterval: 10s
minIdleTime: 1 minute

auth:
type: basic
userRegistry: <path/to/>users.yaml

Users

Copy this example into a new file and name it users.yaml to use with the instructions for adding users.

users.yaml

---
- name: <user>
password: <SHA256 password hash>
- name: <user>
password: <SHA256 password hash>
...