From 57ab883e230ac9b6e07d355d7f1c1a66a2067377 Mon Sep 17 00:00:00 2001 From: Patrick Slevin Date: Wed, 12 Jun 2024 13:07:29 -0500 Subject: [PATCH 1/2] listen on 8080 in the Dockerfile and remove fly.toml Let fly launch generate the fly.toml --- Dockerfile | 1 + fly.toml | 40 ---------------------------------------- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 fly.toml diff --git a/Dockerfile b/Dockerfile index 6add7ac..814f63d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,3 @@ FROM pierrezemb/gostatic COPY ./public/ /srv/http/ +ENTRYPOINT ["/goStatic", "-port", "8080"] \ No newline at end of file diff --git a/fly.toml b/fly.toml deleted file mode 100644 index 7070f10..0000000 --- a/fly.toml +++ /dev/null @@ -1,40 +0,0 @@ -# fly.toml file generated for gostatic-example on 2022-03-01T14:38:17-05:00 - -app = "gostatic-example" - -kill_signal = "SIGINT" -kill_timeout = 5 -processes = [] - -[env] - -[experimental] - allowed_public_ports = [] - auto_rollback = true - -[[services]] - http_checks = [] - internal_port = 8043 - processes = ["app"] - protocol = "tcp" - script_checks = [] - - [services.concurrency] - hard_limit = 25 - soft_limit = 20 - type = "connections" - - [[services.ports]] - handlers = ["http"] - port = 80 - force_https = true - - [[services.ports]] - handlers = ["tls", "http"] - port = 443 - - [[services.tcp_checks]] - grace_period = "1s" - interval = "15s" - restart_limit = 0 - timeout = "2s" From b97f89dc0bd182bd9c354adbe73b30a61d3a7719 Mon Sep 17 00:00:00 2001 From: Patrick Slevin Date: Wed, 12 Jun 2024 14:15:34 -0500 Subject: [PATCH 2/2] remove duplicate index.html --- index.html | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 index.html diff --git a/index.html b/index.html deleted file mode 100644 index 9792bea..0000000 --- a/index.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - Hello from Fly - - - -

Hello from Fly with a static web site

- - \ No newline at end of file