Configuration
Platformatic Service configured with a configuration file. It supports the use of environment variables as setting values with configuration placeholders.
Configuration file
If the Platformatic CLI finds a file in the current working directory matching one of these filenames, it will automatically load it:
platformatic.service.json
platformatic.service.json5
platformatic.service.yml
orplatformatic.service.yaml
platformatic.service.tml
orplatformatic.service.toml
Alternatively, a --config
option with a configuration
filepath can be passed to most platformatic service
CLI commands.
The configuration examples in this reference use JSON.