Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lisong committed Aug 26, 2018
1 parent b6cc5bc commit 5a9f62c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@ Date: Sat, 25 Aug 2018 15:45:46 GMT
Connection: keep-alive
```

## 浏览器登录

> 默认用户名:admin 密码:123456 记得要修改默认密码哦
> 如果登录连续输错密码超过一定次数,会限定无法再登录. 需要清空redis缓存
```shell
$ redis-cli -p6388 # 进入redis
> flushall
> quit
```


## 查看服务日志

```shell
Expand All @@ -115,6 +127,7 @@ DRIVER | VOLUME NAME | 描述
local | code-push-server_data-mysql | 数据库存储数据目录
local | code-push-server_data-storage | 存储打包文件目录
local | code-push-server_data-tmp | 用于计算更新包差异文件临时目录
local | code-push-server_data-redis | redis落地数据

## 销毁退出应用

Expand Down
3 changes: 3 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ services:
- dbnet
redis:
image: redis:4.0.11-alpine
volumes:
- data-redis:/data
ports:
- "6388:6379"
networks:
Expand All @@ -58,3 +60,4 @@ volumes:
data-storage:
data-tmp:
data-mysql:
data-redis:

0 comments on commit 5a9f62c

Please sign in to comment.