mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-23 06:32:28 +08:00
docker-compose.yml 添加数据库备份镜像
This commit is contained in:
@@ -35,3 +35,14 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "9000:9000"
|
- "9000:9000"
|
||||||
restart: always
|
restart: always
|
||||||
|
backup:
|
||||||
|
image: registry.cn-hangzhou.aliyuncs.com/deepzz/backup
|
||||||
|
container_name: backup
|
||||||
|
links:
|
||||||
|
- mongodb
|
||||||
|
environment:
|
||||||
|
- QINIU_BUCKET=xxxx
|
||||||
|
- QINIU_DOMAIN=xx.example.com
|
||||||
|
- ACCESS_KEY=xxxxxxxxxx
|
||||||
|
- SECRECT_KEY=xxxxxxxxxx
|
||||||
|
restart: always
|
||||||
|
|||||||
Reference in New Issue
Block a user