diff --git a/README.md b/README.md index c0d0f502..9c32132d 100644 --- a/README.md +++ b/README.md @@ -111,8 +111,8 @@ The default password for development is `change me`. ## Deployment -The application is setup for deployment on Fly.io - just make sure you edit -`fly.toml` to match your app name, domain, etc. +The application provides a Dockerfile suitable for production use. You can +build a working image using `mise run docker:build`. ## CI diff --git a/fly.toml b/fly.toml deleted file mode 100644 index 42d214c8..00000000 --- a/fly.toml +++ /dev/null @@ -1,42 +0,0 @@ -# fly.toml app configuration file generated for music-library-billowing-bird-8038 on 2024-09-27T17:29:03+01:00 -# -# See https://fly.io/docs/reference/configuration/ for information about how to use this file. -# - -app = 'music-library-billowing-bird-8038' -primary_region = 'lhr' -kill_signal = 'SIGTERM' - -[build] - -[env] -DATABASE_PATH = '/mnt/music_library/music_library_prod.db' -ERROR_DATABASE_PATH = '/mnt/music_library/music_library_prod_errors.db' -BACKGROUND_DATABASE_PATH = '/mnt/music_library/music_library_prod_background.db' -PHX_HOST = 'music-library.claudio-ortolina.org' -PORT = '8080' -LAST_FM_USER = 'cloud8421' -POOL_SIZE = '10' -TIMEZONE = 'Europe/London' - -[[mounts]] -source = 'music_library' -destination = '/mnt/music_library' - -[http_service] -internal_port = 8080 -force_https = true -auto_stop_machines = 'suspend' -auto_start_machines = true -min_machines_running = 0 -processes = ['app'] - -[http_service.concurrency] -type = 'connections' -hard_limit = 1000 -soft_limit = 1000 - -[[vm]] -memory = '2048mb' -cpu_kind = 'shared' -cpus = 2