My personal site cherry.computer
htmx tailwind axum askama

delete Fly configuration files

I'm running the site on a Hetzner VPS via NixOS instead of in a docker
container now.

cherry.computer f264e07d 82ed6552

verified
-84
-39
Dockerfile
··· 1 - FROM node:24 AS build-js 2 - 3 - WORKDIR /usr/src/myivo 4 - 5 - COPY frontend/package*.json . 6 - RUN npm install 7 - 8 - COPY frontend . 9 - 10 - # tailwind classes are in the backend's HTML template files 11 - COPY server/templates templates 12 - RUN sed -i "s|../../../server/templates|../../templates|" src/css/tailwind.css 13 - 14 - RUN npm run build:production 15 - 16 - FROM rust:1.89 AS builder-rs 17 - 18 - WORKDIR /usr/src/myivo-server 19 - COPY server . 20 - 21 - # point to minimised, production versions of build artefacts 22 - RUN sed -i "s|build/app|build/app.min|g" templates/index.html 23 - RUN cargo install --profile release --locked --path . 24 - 25 - # run on different image 26 - FROM debian:trixie-slim 27 - 28 - RUN apt-get update \ 29 - && apt-get install -y openssl ca-certificates \ 30 - && rm -rf /var/lib/apt/lists/* 31 - 32 - WORKDIR /root 33 - 34 - COPY --from=build-js /usr/src/myivo/build ./build 35 - COPY --from=builder-rs /usr/local/cargo/bin/myivo-server /usr/local/bin/ 36 - 37 - EXPOSE 8080 38 - 39 - CMD ["myivo-server"]
···
-45
fly.toml
··· 1 - # fly.toml file generated for myivo on 2022-05-23T09:56:13+01:00 2 - 3 - app = "myivo" 4 - 5 - kill_signal = "SIGINT" 6 - kill_timeout = 5 7 - processes = [] 8 - 9 - [env] 10 - RUST_LOG = "debug" 11 - 12 - [[files]] 13 - guest_path = "/root/keys/AuthKey.p8" 14 - secret_name = "APPLE_DEVELOPER_TOKEN_AUTH_KEY" 15 - 16 - [experimental] 17 - allowed_public_ports = [] 18 - auto_rollback = true 19 - 20 - [[services]] 21 - http_checks = [] 22 - internal_port = 8080 23 - processes = ["app"] 24 - protocol = "tcp" 25 - script_checks = [] 26 - 27 - [services.concurrency] 28 - hard_limit = 25 29 - soft_limit = 20 30 - type = "connections" 31 - 32 - [[services.ports]] 33 - force_https = true 34 - handlers = ["http"] 35 - port = 80 36 - 37 - [[services.ports]] 38 - handlers = ["tls", "http"] 39 - port = 443 40 - 41 - [[services.tcp_checks]] 42 - grace_period = "1s" 43 - interval = "15s" 44 - restart_limit = 0 45 - timeout = "2s"
···