Comment on Do you backup your docker images?

<- View Parent
HelloRoot@lemy.lol ⁨1⁩ ⁨week⁩ ago

afaik I’m on an older version of github.com/distribution/…/distribution

my compose somehow says nothing haha:

services:
  registry:
    restart: always
    image: registry:2
    ports:
      - 5000:5000
    networks:
      - dokploy-network
    dns:
      - 9.9.9.9
      - 1.1.1.1
    volumes:
      - ../files/auth/registry.password:/auth/registry.password
      - registry-data:/var/lib/registry
    environment:
      REGISTRY_STORAGE_DELETE_ENABLED: true
      REGISTRY_HEALTH_STORAGEDRIVER_ENABLED: false
      REGISTRY_HTTP_SECRET: ${REGISTRY_HTTP_SECRET}
      REGISTRY_AUTH: htpasswd
      REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
      REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
      # REGISTRY_PROXY_REMOTEURL: "https://registry-1.docker.io/"
    deploy:
      placement:
        constraints:
          - node.role == manager
          
networks:
  dokploy-network:
    external: true

volumes:
  registry-data:

source
Sort:hotnewtop