Skip to content

Commit

Permalink
chore: update release
Browse files Browse the repository at this point in the history
  • Loading branch information
jamebal committed May 17, 2024
1 parent ca96d0d commit 0cbe58f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ change-template: '- $TITLE (#$NUMBER)'
no-changes-template: '- No changes'
template: |
### 更新前备份数据库
[docker-docker.yml](https://github.com/jamebal/jmal-cloud-server/blob/master/docker-compose.example2.yml)
#### 更新前备份数据库
```shell
docker exec -it jmalcloud_mongodb mongodump -d jmalcloud -o /dump/$PREVIOUS_TAG --gzip --quiet
```
```shell
docker exec -it jmalcloud_mongodb mongodump -d jmalcloud -o /dump --gzip --quiet
docker-compose pull && docker-compose up -d
```
## Changes in this release:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Build nightly
on:
push:
branches:
- 'develop'
- 'master'
workflow_dispatch:

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/nightly-nvidia-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Build nightly (nvidia)
on:
push:
branches:
- 'develop'
- 'master'
workflow_dispatch:

Expand Down
1 change: 1 addition & 0 deletions docker-compose.example2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
TZ: Asia/Shanghai
volumes:
- ./docker/jmalcloud/mongodb/data/db:/data/db
- ./docker/jmalcloud/mongodb/backup:/dump
restart: unless-stopped
command: --wiredTigerCacheSizeGB 0.5
nginx:
Expand Down

0 comments on commit 0cbe58f

Please sign in to comment.