1
0
Fork 1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-07-07 23:03:21 -04:00
Commit graph

205 commits

Author SHA1 Message Date
Andrew Nesbitt
2a20fea2d9
Add Dockerfile and docker-compose.yml
Includes configurations for both SQLite (default) and PostgreSQL.

Usage:
  docker compose up              # SQLite
  docker compose --profile postgres up  # PostgreSQL
2026-01-29 16:07:14 +00:00
Andrew Nesbitt
41aa11ab66
Add sqlx with SQLite default and PostgreSQL option
Replace raw database/sql with jmoiron/sqlx for cleaner query handling.
Support both SQLite (default) and PostgreSQL as configurable backends.

Configuration via:
- CLI flags: -database-driver, -database-path, -database-url
- Environment: PROXY_DATABASE_DRIVER, PROXY_DATABASE_PATH, PROXY_DATABASE_URL
- Config file: database.driver, database.path, database.url

Tests run against both databases when PROXY_DATABASE_URL is set.
2026-01-29 16:06:56 +00:00
Andrew Nesbitt
7b1bdf75f7
Extract checkCache helper to reduce duplication 2026-01-21 22:47:23 +00:00
Andrew Nesbitt
aa58059207
Update dependencies 2026-01-21 20:04:41 +00:00
Andrew Nesbitt
7b22638ef7
Hello world 2026-01-20 22:00:31 +00:00