35 lines
744 B
YAML
35 lines
744 B
YAML
services:
|
|
# 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:
|
|
- "${HTTP_PORT:-8088}:80"
|
|
volumes:
|
|
- ./keys:/usr/share/nginx/html/keys:ro
|
|
- ./wkd:/usr/share/nginx/html/.well-known/openpgpkey:ro
|
|
depends_on: [hagrid]
|
|
networks: [openpgp]
|
|
read_only: true
|
|
tmpfs:
|
|
- /var/cache/nginx
|
|
- /var/run
|
|
- /tmp
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
volumes:
|
|
hagrid-data:
|
|
networks:
|
|
openpgp:
|
|
driver: bridge
|