timothykim 5b18b03988
Build and Push Docker Image / build (push) Successful in 7s
align equal signs with subgrid
2026-07-10 15:26:12 -04:00
2026-07-10 15:26:12 -04:00
2026-02-27 14:45:53 -05:00
2026-03-20 14:44:10 -04:00

timothykim.net

Static site hosted on the hantim platform.

How it works

Put your HTML, CSS, and JS in static/. Push to main and the site deploys automatically.

Dockerfile

Copies static/ into an nginx:alpine container and applies nginx.conf. The container serves on port 80 — the platform's reverse proxy handles HTTPS and domain routing.

nginx.conf

Per-container HTTP config. Serves files from static/ with clean URLs and aggressive caching for static assets. Edit this to add custom routing, headers, or rewrites.

Media files

Large files (images, videos, etc.) are stored in Garage (S3-compatible object storage), not in this repo.

Upload with the AWS CLI:

aws --endpoint-url https://s3.hantim.net s3 cp photo.jpg s3://timothykim.net/photo.jpg
aws --endpoint-url https://s3.hantim.net s3 sync static/media/ s3://timothykim.net/

Media is served at https://www.timothykim.net/media/. Reference it in your HTML:

<img src="/media/photo.jpg">

Deploy flow

Push to main triggers .gitea/workflows/build.yml:

  1. Build Docker image from this repo
  2. Push to Gitea container registry
  3. SSH to server and restart the container
S
Description
No description provided
Readme 169 KiB
Languages
HTML 99.9%
Dockerfile 0.1%