version: '3.7'

networks:
  default:
    name: weaver

services:
  registry:
    image: registry
    hostname: registry
    build:
      dockerfile: Dockerfile
      context: './'
    environment:
      - COMMAND=start:registry
    volumes:
      - ./.verdaccio/storage:/weaver/source/.verdaccio/storage
    ports:
      - 4873:4873

  publish:
    build:
      dockerfile: Dockerfile
      context: './'
    environment:
      - COMMAND=publish:registry
    depends_on:
      - registry

version: '3.7'

networks:
  default:
    name: weaver

services:
  registry:
    image: registry
    hostname: registry
    build:
      dockerfile: Dockerfile
      context: './'
    environment:
      - COMMAND=start:registry
    ports:
      - 4873:4873

  publish:
    build:
      dockerfile: Dockerfile
      context: './'
    environment:
      - COMMAND=publish:registry
    depends_on:
      - registry

Remove volumes due to problems.
Remove volumes due to problems.

The volumes are causing odd failures across different systems and situations.
This has become too problematic and is now removed.
