Common combinations

This section explains the main configuration options for running the GA Addressing Service with Micronaut. It covers how to set a custom server port, adjust log levels, and specify resource paths. You will also find example commands for common production-like deployments, such as using quieter logs, custom ports, and resource paths.
MICRONAUT_SERVER_PORT=8081 \
        java -DRESOURCE_PATH=/srv/addressing \
        -Dlogger.levels.root=INFO \
        -Dlogger.levels.com.precisely.addressing=INFO \
        -jar ga-addressing-service-<version>.jar
To temporarily enable debug logging for all components, use the following command:
java -Dlogger.levels.root=DEBUG -jar ga-addressing-service-<version>.jar

Environment variable cheatsheet

PurposeEnv var / PropertyExample
HTTP port

MICRONAUT_SERVER_PORT

MICRONAUT_SERVER_PORT=7070

Root log level

-Dlogger.levels.root

-Dlogger.levels.root=INFO

Package log level-Dlogger.levels.com.precisely.addressing-Dlogger.levels.com.precisely.addressing=DEBUG
Resources path

-DRESOURCE_PATH (or set in scripts)

-DRESOURCE_PATH=/srv/addressing