1 Star 0 Fork 0

gwt805/MYNotes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.yml 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
gwt805 提交于 2024-12-28 04:29 . update
version: '3.3'
services:
blog-mysql:
image: mysql:8.0.26
network_mode: "host"
container_name: blog-mysql
restart: always
ports:
- "3306:3306"
environment:
TZ: Asia/Shanghai
MYSQL_ROOT_PASSWORD: blog
MYSQL_DATABASE: blog
volumes:
- ./mysql:/var/lib/mysql
- ./mysql-conf:/etc/mysql/conf.d
blog-client:
build: ./Client
command: npx nodemon -w dist ./client.js
network_mode: "host"
ports:
- "5173:5173"
restart: always
volumes:
- ./Client:/app
container_name: blog-client
depends_on:
- blog-service
blog-service:
build: ./Serrver
command: python app.py --log-level=DEBUG
network_mode: "host"
volumes:
- ./Server:/app/Server
ports:
- "3000:3000"
restart: always
container_name: blog-service
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
- MYSQL_DATABASE=blog
- MYAQL_PASSWORD=blog
depends_on:
- blog-minio
- blog-mysql
blog-minio:
image: minio/minio
network_mode: "host"
container_name: blog-minio
ports:
- 9000:9000
- 9001:9001
environment:
TZ: Asia/Shanghai
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
volumes:
- ./minio:/data
restart: always
command: server /data --console-address ":9001"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gwt805/MYNotes.git
git@gitee.com:gwt805/MYNotes.git
gwt805
MYNotes
MYNotes
main

搜索帮助