Add hkp and vks support
This commit is contained in:
+21
-11
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user