increase memory limit
1 file changed, 38 insertions(+), 38 deletions(-)
jump to
M fly.toml → fly.toml
@@ -7,56 +7,56 @@ app = "alanpearce-eu" primary_region = "ams" [env] - SERVER_PORT = "8080" - SERVER_TLS_PORT = "8443" - SERVER_LISTEN_ADDRESS = "::" - SERVER_TLS = "true" - POWERDNS_SERVER_URL = "https://pdns.alanpearce.eu" - # POWERDNS_API_TOKEN = "from fly secret" - WEBSITE_SOURCE = "/data/website" - WEBSITE_DESTINATION = "/data/public" - WEBSITE_VCS_REMOTE_URL = "https://git.alanpearce.eu/website.git" - GOMEMLIMIT = "128MiB" - REDIS_ADDRESS = "redis.alanpearce.eu:6379" - REDIS_TLS_ENABLED = "true" - REDIS_TLS_INSECURE = "false" + SERVER_PORT = "8080" + SERVER_TLS_PORT = "8443" + SERVER_LISTEN_ADDRESS = "::" + SERVER_TLS = "true" + POWERDNS_SERVER_URL = "https://pdns.alanpearce.eu" + # POWERDNS_API_TOKEN = "from fly secret" + WEBSITE_SOURCE = "/data/website" + WEBSITE_DESTINATION = "/data/public" + WEBSITE_VCS_REMOTE_URL = "https://git.alanpearce.eu/website.git" + GOMEMLIMIT = "200MiB" + REDIS_ADDRESS = "redis.alanpearce.eu:6379" + REDIS_TLS_ENABLED = "true" + REDIS_TLS_INSECURE = "false" [[services]] - internal_port = 8080 + internal_port = 8080 - [services.concurrency] - type = "requests" - soft_limit = 15000 + [services.concurrency] + type = "requests" + soft_limit = 15000 - [[services.ports]] - port = 80 + [[services.ports]] + port = 80 [[services]] - internal_port = 8443 + internal_port = 8443 - [[services.ports]] - port = 443 + [[services.ports]] + port = 443 - [services.concurrency] - type = "requests" - soft_limit = 15000 + [services.concurrency] + type = "requests" + soft_limit = 15000 - [[services.http_checks]] - grace_period = "10s" - protocol = "https" - tls_server_name = "alanpearce.eu" - interval = "10s" - method = "GET" - timeout = "1s" - path = "/health" + [[services.http_checks]] + grace_period = "10s" + protocol = "https" + tls_server_name = "alanpearce.eu" + interval = "10s" + method = "GET" + timeout = "1s" + path = "/health" [[vm]] - size = "shared-cpu-1x" + size = "shared-cpu-1x" [[restart]] - policy = "always" + policy = "always" [mounts] - source = "data" - destination = "/data" - initial_size = "1gb" + source = "data" + destination = "/data" + initial_size = "1gb"