chore: fix docker demo url

This commit is contained in:
fengmk2
2025-02-09 23:25:05 +08:00
parent b0f7bf0967
commit d095d3f48c
2 changed files with 3 additions and 11 deletions

View File

@@ -7,8 +7,6 @@ volumes:
networks:
cnpm-postgres:
name: cnpm-postgres
driver: bridge
services:
redis:
@@ -21,8 +19,6 @@ services:
- cnpm-redis:/data
ports:
- 6379:6379
networks:
- cnpm-postgres
postgres:
env_file:
@@ -34,8 +30,6 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
ports:
- 5432:5432
networks:
- cnpm-postgres
volumes:
- cnpm-postgres:/var/lib/postgresql/data
@@ -55,7 +49,5 @@ services:
- cnpm-pgadmin:/var/lib/pgadmin
ports:
- 8888:80
networks:
- cnpm-postgres
depends_on:
- postgres

View File

@@ -209,20 +209,20 @@ docker run -p 7001:7001 -it --rm \
## 演示地址
https://registry-demo.fengmk2.com:9443
https://registry.fengmk2.com
管理员账号:`cnpmcore_admin/12345678`
通过 npm login 可以登录
```bash
npm login --registry=https://registry-demo.fengmk2.com:9443
npm login --registry=https://registry.fengmk2.com
```
查看当前登录用户
```bash
npm whoami --registry=https://registry-demo.fengmk2.com:9443
npm whoami --registry=https://registry.fengmk2.com
```
## fengmk2/cnpmcore 镜像