diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..0501d092d --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +fly.toml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..46a5e4c63 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM pierrezemb/gostatic +COPY . /srv/http/ +CMD ["-port","8080","-https-promote", "-enable-logging"] diff --git a/fly.toml b/fly.toml new file mode 100644 index 000000000..f45c0f787 --- /dev/null +++ b/fly.toml @@ -0,0 +1,23 @@ +# fly.toml app configuration file generated for themes-assets on 2025-08-04T04:34:52Z +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = 'themes-assets' +primary_region = 'qro' + +[build] + +[http_service] + internal_port = 8080 + 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 + memory_mb = 1024