GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DoneZero/docs/DEPLOYMENT.md at master · Ink-dark/DoneZero

Expand file tree

/

DEPLOYMENT.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
73 lines (53 loc) · 1.59 KB
/

DEPLOYMENT.md

Copy path

File metadata and controls

73 lines (53 loc) · 1.59 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Deployment Guide

Prerequisites

  • Rust 1.80+ (with Cargo)
  • OpenSSL development libraries (for rustls)

Build

cargo build --release

The binary will be at target/release/DoneZero.

Run

# Development
cargo run

# Production
./target/release/DoneZero

The server will:

  1. Detect local network interfaces
  2. Generate a self-signed certificate (if not present)
  3. Bind to the first non-loopback IP on port 8443

Certificate Management

Certificates are stored in the certs/ directory:

  • certs/cert.pem — Server certificate
  • certs/key.pem — Private key

To use your own certificate, replace these files before starting the server.

Configuration

Currently, configuration is compile-time. Future versions will support environment variables and config files.

Default values:

  • Port: 8443
  • QR rotation interval: 3 seconds
  • Handshake TTL: 60 seconds
  • Max verification attempts: 3
  • Access Token min TTL: 300 seconds
  • Access Token max TTL: 900 seconds
  • Refresh Token TTL: 3600 seconds

Docker (Future)

FROM rust:1.80-slim as builder
WORKDIR /app
COPY . .
RUN cargo build --release

FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y ca-certificates
COPY --from=builder /app/target/release/DoneZero /usr/local/bin/
EXPOSE 8443
CMD ["DoneZero"]

Security Hardening

  1. Run behind a reverse proxy (nginx/traefik) for additional TLS termination
  2. Use firewall rules to restrict access to the LAN subnet
  3. Enable traffic padding for high-security environments
  4. Regularly rotate certificates
  5. Monitor logs for suspicious activity
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.