Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
Signed-off-by: daz-3ux <[email protected]>
  • Loading branch information
Daz-3ux committed Oct 17, 2023
1 parent be78058 commit a0769db
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ make tool.verify && make ca && make

./_output/platforms/linux/amd64/dBlog -c configs/dazBlog.yaml
```
#### Dockerfile
#### Dockerfile(推荐)
```shell
docker build -t dazblog-image:latest .

Expand All @@ -42,6 +42,20 @@ docker run --network=host \
dazblog-image:latest
```

#### Docker
```shell
docker pull realdaz/dazblog

docker run --network=host \
-e DB_HOST=your_db_host \
-e DB_PORT=your_db_port \
-e DB_USER=your_db_user \
-e DB_PASSWORD=your_db_password \
-e DB_NAME=your_db_name \
--restart always \
realdaz/dazblog
```

#### 数据库配置
[初始化数据库](./docs/devel/zh-CN/conversions/DB.md)

Expand Down

0 comments on commit a0769db

Please sign in to comment.