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:
parent
6b67be86a1
commit
607c9791d8
3 changed files with 20 additions and 2 deletions
|
|
@ -19,5 +19,3 @@ npm-debug.log*
|
|||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Kubernetes manifests
|
||||
/manifest
|
||||
|
|
@ -7,4 +7,5 @@ RUN npm ci && npm run build
|
|||
|
||||
FROM ghcr.io/xe/nginx-micro
|
||||
COPY --from=build /app/build /www
|
||||
COPY ./manifest/cfg/nginx/nginx.conf /conf
|
||||
LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis"
|
||||
19
docs/fly.toml
Normal file
19
docs/fly.toml
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue