Skip to content

Instantly share code, notes, and snippets.

@withzombies
Created November 6, 2022 23:22
Show Gist options
  • Save withzombies/39d3e74d044537e696dd16b40c062326 to your computer and use it in GitHub Desktop.
Save withzombies/39d3e74d044537e696dd16b40c062326 to your computer and use it in GitHub Desktop.
Ghost 5 with sqlite3
# fly.toml file generated for notcheckmark on 2022-05-20T23:24:53-04:00
app = "notcheckmark"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[build]
image = "ghost:alpine"
[env]
database__client = "sqlite3"
database__connection__filename = "content/data/ghost.db"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 2368
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
[mounts]
source="ghost_data"
destination="/var/lib/ghost/content"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment