Sign inSign up

joshbeck2024/gpg-keyserver-postgres

By joshbeck2024

•Updated 18 days ago

Image
0

34

joshbeck2024/gpg-keyserver-postgres repository overview

docker-compose.yml

# Both images are pulled from Docker Hub and already contain the data:
#   - joshbeck2024/gpg-keyserver-postgres  restores the hkp DB on first run
#   - joshbeck2024/gpg-keyserver-lab       ships config + prefix tree baked in
#
# Usage:
#   docker compose up -d
#   HKP web UI / API:  http://localhost:11371
#
# On first `up`, the named volumes are empty and are initialized from the image
# content (DB restore + prefix tree). Data then persists across restarts in the
# volumes. `docker compose down -v` wipes them back to the baked-in state.
version: "3"

services:
  postgres:
    image: joshbeck2024/gpg-keyserver-postgres
    restart: always
    environment:
      - POSTGRES_USER=docker
      - POSTGRES_PASSWORD=docker
      - POSTGRES_DB=hkp
    volumes:
      - pg_data:/var/lib/postgresql/data

  hockeypuck:
    image: joshbeck2024/gpg-keyserver-lab
    restart: always
    depends_on:
      - postgres
    ports:
      - "11370:11370"
      - "11371:11371"
    volumes:
      - hkp_data:/hockeypuck/data
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "3"

volumes:
  pg_data: {}
  hkp_data: {}



Tag summary

Content type

Image

Digest

sha256:5bd06a231…

Size

151.2 MB

Last updated

18 days ago

docker pull joshbeck2024/gpg-keyserver-postgres