divo v1.1.4 Divo.File View Source
Constructs the ad hoc docker-compose file used by
Divo to run docker dependency services based on
config in the app environment (Mix.env()
) file.
Link to this section Summary
Functions
Passes through the file name when the compose file is pre-existing and supplied via file system path. Builds and writes a dynamic compose file to a temp directory before returning the path to that temp file if file does not exist.
Returns the name of the compose file to run, either as a pass-through from an existing compose file or the path of the file dynamically created by Divo.
Link to this section Functions
ensure_file(app_config) View Source
Passes through the file name when the compose file is pre-existing and supplied via file system path. Builds and writes a dynamic compose file to a temp directory before returning the path to that temp file if file does not exist.
file_name()
View Source
file_name() :: String.t()
file_name() :: String.t()
Returns the name of the compose file to run, either as a pass-through from an existing compose file or the path of the file dynamically created by Divo.