Hello every one,

I have a docker compose file setup private registry using space NYC3 as a volume
But I can’t run it.
Environment can be wrong. Can you help me?

version: '3'

services:
  nginx:
    image: "nginx:alpine"
    restart: always
    ports:
      - 443:443
    links:
      - registry:registry
    volumes:
      - ./auth:/etc/nginx/conf.d
      - ./auth:/usr/local/ssl/certificate
      - ./auth/nginx.conf:/etc/nginx/nginx.conf:ro

  registry:
    image: registry:2
    ports:
      - 5000:5000
    restart: always
    # volumes:
    #   - ./data:/var/lib/registry

    environment:
      REGISTRY_HTTP_ADDR: 0.0.0.0:5000
      REGISTRY_STORAGE: S3
      REGISTRY_STORAGE_S3_ACCESSKEY: my key
      REGISTRY_STORAGE_S3_SECRETKEY: my key
      REGISTRY_STORAGE_S3_BUCKET: cbicontainer
      REGISTRY_STORAGE_S3_REGION: nyc3
      REGISTRY_STORAGE_S3_REGIONENDPOINT: https://nyc3.digitaloceanspaces.com/
      REGISTRY_LOG_LEVEL: info
      REGISTRY_HEALTH_STORAGEDRIVER_ENABLED: "false"
Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!