diff --git a/.editorconfig b/.editorconfig index 1315e71..8800537 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,7 +12,7 @@ trim_trailing_whitespace = true insert_final_newline = false trim_trailing_whitespace = false -[*.{css,js,json,ts,svg,yml,yaml}] +[*.{css,js,json,toml,ts,svg,yml,yaml}] indent_size = 2 [*.{xml}] diff --git a/fly.toml b/fly.toml index 359dd14..0451f4e 100644 --- a/fly.toml +++ b/fly.toml @@ -12,6 +12,9 @@ console_command = 'php /var/www/html/artisan tinker' NODE_VERSION = '18' PHP_VERSION = '8.2' +[deploy] + release_command = 'php /var/www/html/artisan migrate --force' + [env] APP_NAME = 'Tourney' APP_ENV = 'staging' @@ -35,6 +38,11 @@ console_command = 'php /var/www/html/artisan tinker' min_machines_running = 0 processes = ['app'] +[mounts] + source = 'tourney' + destination = '/var/www/html/storage/app' + processes = ['app'] + [[vm]] memory = '1gb' cpu_kind = 'shared'