From 7d5e77df76a5fc776ff66219cf5f1713822fae72 Mon Sep 17 00:00:00 2001 From: Kenzo Date: Tue, 15 Jul 2025 21:20:55 +0200 Subject: [PATCH] Add `.dockerignore` and update Fly.io configuration - Created `.dockerignore` to exclude irrelevant files during Docker image build. - Enhanced `fly.toml` with additional configuration such as VM specs and adjusted syntax. - Fixed logo path in `index.html` and relocated the logo file for proper referencing. --- .dockerignore | 10 ++++++++++ fly.toml | 34 +++++++++++++++++++++----------- src/index.html | 2 +- {public => src/public}/Logo.png | Bin 4 files changed, 33 insertions(+), 13 deletions(-) create mode 100644 .dockerignore rename {public => src/public}/Logo.png (100%) diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..4a97111 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,10 @@ +# flyctl launch added from .idea\.gitignore +# Default ignored files +.idea\shelf +.idea\workspace.xml +# Editor-based HTTP Client requests +.idea\httpRequests +# Datasource local storage ignored files +.idea\dataSources +.idea\dataSources.local.xml +fly.toml diff --git a/fly.toml b/fly.toml index 0252565..cc1c85d 100644 --- a/fly.toml +++ b/fly.toml @@ -1,23 +1,33 @@ -app = "gallus-pub" -primary_region = "fra" +# fly.toml app configuration file generated for gallus-pub on 2025-07-15T21:18:19+02:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = 'gallus-pub' +primary_region = 'fra' + +[experimental] + auto_rollback = true [build] -dockerfile = "Dockerfile" # Da du mit einem Dockerfile arbeitest + dockerfile = 'Dockerfile' [http_service] internal_port = 80 force_https = true - auto_stop_machines = true + auto_stop_machines = 'stop' auto_start_machines = true min_machines_running = 0 - processes = ["app"] + processes = ['app'] [[http_service.checks]] - interval = "10s" - timeout = "2s" - grace_period = "5s" - method = "GET" - path = "/" + interval = '10s' + timeout = '2s' + grace_period = '5s' + method = 'GET' + path = '/' -[experimental] - auto_rollback = true +[[vm]] + memory = '1gb' + cpu_kind = 'shared' + cpus = 1 diff --git a/src/index.html b/src/index.html index 0e99fc5..6c998b3 100644 --- a/src/index.html +++ b/src/index.html @@ -10,7 +10,7 @@
- Gallus Pub Logo + Gallus Pub Logo

Coming Soon

diff --git a/public/Logo.png b/src/public/Logo.png similarity index 100% rename from public/Logo.png rename to src/public/Logo.png