chore(docs): add fly.toml file as a hail mary

Ref #799

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-07-10 06:05:12 -04:00
parent 6b67be86a1
commit 607c9791d8
No known key found for this signature in database
3 changed files with 20 additions and 2 deletions

View file

@ -19,5 +19,3 @@ npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
# Kubernetes manifests
/manifest

View file

@ -7,4 +7,5 @@ RUN npm ci && npm run build
FROM ghcr.io/xe/nginx-micro FROM ghcr.io/xe/nginx-micro
COPY --from=build /app/build /www COPY --from=build /app/build /www
COPY ./manifest/cfg/nginx/nginx.conf /conf
LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis" LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis"

19
docs/fly.toml Normal file
View file

@ -0,0 +1,19 @@
app = 'anubis-docs'
primary_region = 'yyz'
[build]
image = "ghcr.io/techarohq/anubis/docs:main"
[http_service]
internal_port = 80
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[vm]]
cpu_kind = 'shared'
cpus = 1
memory_mb = 256