add npm-registry (verdaccio) on port 6008

This commit is contained in:
2026-10-19 13:59:05 +05:30
parent 1ec688e093
commit d7c2d6409a

View File

@@ -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