feat: Implement a new layered architecture for the QR generator, integrating Axum, Maud, and HTMX, and updating documentation.

This commit is contained in:
2025-12-30 03:28:03 +01:00
parent 286e10160f
commit 9f12d44489
25 changed files with 2713 additions and 536 deletions

View File

@@ -1,9 +1,16 @@
services:
backend:
build: ./backend
nginx:
image: nginx:latest
build:
context: ./backend
dockerfile: Dockerfile
image: registry.gabrielkaszewski.dev/k-qr:latest
container_name: k-qr
ports:
- '8000:80'
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
- "${SERVER_PORT:-3000}:3000"
environment:
- SERVER_HOST=0.0.0.0
- SERVER_PORT=3000
- QR_DEFAULT_COLOR=${QR_DEFAULT_COLOR:-#000000}
- RUST_LOG=info
restart: unless-stopped