Config Files
Published 31 October 2023
Config Files
Description
The Flyway configuration files to load.
These files will be relative to the Working Directory.
Note: It is possible to have Flyway read from the standard input using the special option -configFiles=-
, see
Configuration from Standard Input.
It is simpler to use environment variables and/or variable substitution if you need more dynamic configuration.
Usage
Commandline
./flyway -configFiles="my.toml" info
To pass in multiple files, separate their names with commas:
./flyway -configFiles=path/to/myAlternativeConfig.toml,other.toml migrate
This will also work with .conf
config files.
TOML Configuration File
Not available
Configuration File
Not available
Environment Variable
FLYWAY_CONFIG_FILES=my.toml
API
Not available
Gradle
flyway {
configFiles = ['my.conf']
}
Maven
<configuration>
<configFiles>
<configFile>my.conf</configFile>
</configFiles>
</configuration>