harbor Documentation

An open source trusted cloud native registry project that stores, signs, and scans content.

RAW Doc

Docker & Self-Hosted Deployment Verified OCI

Deploy harbor on any server, homelab, or cloud container platform.

1-Click Terminal Command
bash (docker run)
docker run -d --name harbor -p 5000:5000 --restart always goharbor/registry-photon:__version__
Configured Services & Ports
โš™๏ธ registry
image: goharbor/registry-photon:__version__
๐Ÿ”Œ Ports: 5000:5000
โš™๏ธ postgres
image: goharbor/harbor-db:__version__
๐Ÿ”Œ Ports: 5432:5432
โš™๏ธ redis
image: goharbor/valkey-photon:__version__
๐Ÿ”Œ Ports: 6379:6379
docker-compose.yml
yaml (docker-compose.yml)
version: '2'
services:
  registry:
    image: goharbor/registry-photon:__version__
    restart: always
    volumes:
      - /data/registry:/storage
      - ./common/config/registry/:/etc/registry/
      - /etc/core/ca/ca.crt:/etc/registry/root.crt
    ports:
      - 5000:5000
    command:
      ["serve", "/etc/registry/config.yml"]
  postgres:
    image: goharbor/harbor-db:__version__
    restart: always
    volumes:
      - /data/database:/var/lib/postgresql/data:z
    env_file:
      - ./common/config/db/env
    ports:
      - 5432:5432
  redis:
    image: goharbor/valkey-photon:__version__
    restart: always
    volumes:
      - /data/redis:/var/lib/redis
    ports:
      - 6379:6379

harbor

An open source trusted cloud native registry project that stores, signs, and scans content.

Repository Details

Note: High-volume repository documentation is actively indexed and synchronized by YakaAI.