Add docker

This commit is contained in:
Adam Cooke
2020-02-12 16:29:32 +00:00
parent 4cad787343
commit b08af5ab7d
4 changed files with 79 additions and 0 deletions
+2
View File
@@ -188,6 +188,8 @@ module Postal
end
def self.check_config!
return if ENV['POSTAL_SKIP_CONFIG_CHECK'].to_i == 1
unless File.exist?(self.config_file_path)
raise ConfigError, "No config found at #{self.config_file_path}"
end