1 Star 0 Fork 1.6K

华闻/mblog

forked from mtons/mblog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 811 Bytes
一键复制 编辑 原始数据 按行查看 历史
Administrator 提交于 2021-11-30 10:41 . s
version: '3'
services:
mysql:
container_name: mblog-mysql
image: mysql/mysql-server:5.7
environment:
MYSQL_DATABASE: db_mblog
MYSQL_ROOT_PASSWORD: 12345
MYSQL_ROOT_HOST: '%'
TZ: Asia/Shanghai
expose:
- "3306"
volumes:
- /data/mblog/mysql/mysql_data:/var/lib/mysql
restart: always
server:
container_name: mblog-server
image: langhsu/mblog:latest
build: .
working_dir: /app/mblog
environment:
TZ: Asia/Shanghai
ports:
- "8080:8080"
volumes:
- /data/mblog/storage:/app/mblog/storage
- /data/mblog/logs:/app/mblog/logs
depends_on:
- mysql
restart: always
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/hua_wen/mblog.git
git@gitee.com:hua_wen/mblog.git
hua_wen
mblog
mblog
master

搜索帮助