diff --git a/docker-compose.yaml b/docker-compose.yaml index c38ed49..731d327 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -37,20 +37,20 @@ x-volume-configs: bind: create_host_path: true -# verdaccio: &verdaccio_volumes -# - /mnt/omnissiah-vault/configs/auth:/auth:ro -# -# - type: bind -# source: /mnt/omnissiah-vault/data/verdaccio/storage -# target: /verdaccio/storage -# bind: -# create_host_path: true -# -# - type: bind -# source: /mnt/omnissiah-vault/configs/verdaccio -# target: /verdaccio/conf -# bind: -# create_host_path: true + verdaccio: &verdaccio_volumes + - /mnt/omnissiah-vault/configs/auth:/auth:ro + + - type: bind + source: /mnt/omnissiah-vault/data/verdaccio/storage + target: /verdaccio/storage + bind: + create_host_path: true + + - type: bind + source: /mnt/omnissiah-vault/configs/verdaccio + target: /verdaccio/conf + bind: + create_host_path: true services: registry-ui: @@ -167,14 +167,14 @@ services: profiles: - server-pi -# npm-registry: -# image: verdaccio/verdaccio:latest -# container_name: npm-registry -# ports: -# - "6007:4873" -# volumes: *verdaccio_volumes -# environment: -# - VERDACCIO_PORT=4873 -# restart: unless-stopped -# profiles: -# - server-pi + npm-registry: + image: verdaccio/verdaccio:latest + container_name: npm-registry + ports: + - "6008:4873" + volumes: *verdaccio_volumes + environment: + - VERDACCIO_PORT=4873 + restart: unless-stopped + profiles: + - server-pi