first commit

This commit is contained in:
2026-04-29 02:35:00 +00:00
commit 2cb17df4c5
90 changed files with 7321 additions and 0 deletions

25
docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
nip05api:
build:
context: .
args:
VERSION: ${VERSION:-dev}
image: nip05api:latest
container_name: nip05api
restart: unless-stopped
ports:
- "127.0.0.1:8080:8080"
env_file:
- .env
volumes:
- ./.data:/app/.data
- ./messages.yaml:/app/messages.yaml:ro
# Healthcheck: distroless has no shell, so probe externally.
# Recommended: Caddy/nginx upstream probe or your monitoring system.
read_only: true
tmpfs:
- /tmp
security_opt:
- no-new-privileges:true
cap_drop:
- ALL