From f0b8a6276aeeacc88a6f985719563e44365e2e19 Mon Sep 17 00:00:00 2001 From: Erik Winter Date: Mon, 6 Jan 2025 19:35:15 +0100 Subject: [PATCH] fly.io deploy --- Dockerfile | 3 +++ fly.toml | 22 ++++++++++++++++++++++ vrijkorteverhalen.nl/config.toml | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 Dockerfile create mode 100644 fly.toml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f50fe79 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM nginx:alpine + +COPY public/vrijkorteverhalen.nl /usr/share/nginx/html diff --git a/fly.toml b/fly.toml new file mode 100644 index 0000000..fbdccd6 --- /dev/null +++ b/fly.toml @@ -0,0 +1,22 @@ +# fly.toml app configuration file generated for websites on 2025-01-06T19:26:19+01:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = 'websites' +primary_region = 'ams' + +[build] + +[http_service] + internal_port = 80 + force_https = true + auto_stop_machines = 'stop' + auto_start_machines = true + min_machines_running = 0 + processes = ['app'] + +[[vm]] + memory = '1gb' + cpu_kind = 'shared' + cpus = 1 diff --git a/vrijkorteverhalen.nl/config.toml b/vrijkorteverhalen.nl/config.toml index 13be014..8d4e583 100644 --- a/vrijkorteverhalen.nl/config.toml +++ b/vrijkorteverhalen.nl/config.toml @@ -1,5 +1,5 @@ # The base URL of the site; the only required configuration variable. -base_url = "https://zola-pickles.pages.dev" +base_url = "https://vrijkorteverhalen.nl" # The site title and description; used in feeds by default. title = "VrijKorteVerhalen.nl"