25 lines
583 B
YAML
25 lines
583 B
YAML
services:
|
|
gpg-keyserver:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: gpg-keyserver
|
|
restart: unless-stopped
|
|
ports:
|
|
- "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
|
|
read_only: true
|
|
tmpfs:
|
|
- /var/cache/nginx
|
|
- /var/run
|
|
- /tmp
|
|
security_opt:
|
|
- no-new-privileges:true
|