Skip to content

Commit

Permalink
chore: fix docker demo url
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Feb 9, 2025
1 parent b0f7bf0 commit d095d3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions docker-compose-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ volumes:

networks:
cnpm-postgres:
name: cnpm-postgres
driver: bridge

services:
redis:
Expand All @@ -21,8 +19,6 @@ services:
- cnpm-redis:/data
ports:
- 6379:6379
networks:
- cnpm-postgres

postgres:
env_file:
Expand All @@ -34,8 +30,6 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
ports:
- 5432:5432
networks:
- cnpm-postgres
volumes:
- cnpm-postgres:/var/lib/postgresql/data

Expand All @@ -55,7 +49,5 @@ services:
- cnpm-pgadmin:/var/lib/pgadmin
ports:
- 8888:80
networks:
- cnpm-postgres
depends_on:
- postgres
6 changes: 3 additions & 3 deletions docs/deploy-in-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 镜像
Expand Down

0 comments on commit d095d3f

Please sign in to comment.