Add hkp and vks support

This commit is contained in:
2026-10-11 10:52:13 +03:00
parent 9ef912049a
commit ab6fbc5e16
6 changed files with 134 additions and 108 deletions
+21 -11
View File
@@ -1,20 +1,24 @@
services:
gpg-keyserver:
build:
context: .
dockerfile: Dockerfile
container_name: gpg-keyserver
# Community-maintained Hagrid image; verify its port/config before production.
hagrid:
image: ${HAGRID_IMAGE:-jumper78/hagrid-openpgp:latest}
restart: unless-stopped
expose:
- "8000"
volumes:
- hagrid-data:/data
networks: [openpgp]
frontend:
build: .
restart: unless-stopped
ports:
- "8088:80"
- "${HTTP_PORT:-8088}:80"
volumes:
- ./keys:/usr/share/nginx/html/keys:ro
- ./wkd:/usr/share/nginx/html/.well-known/openpgpkey:ro
healthcheck:
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1/healthz"]
interval: 30s
timeout: 5s
retries: 3
depends_on: [hagrid]
networks: [openpgp]
read_only: true
tmpfs:
- /var/cache/nginx
@@ -22,3 +26,9 @@ services:
- /tmp
security_opt:
- no-new-privileges:true
volumes:
hagrid-data:
networks:
openpgp:
driver: bridge