1 Star 0 Fork 752

赵振雄/mayfly-go

forked from dromara/mayfly-go 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yaml 746 Bytes
一键复制 编辑 原始数据 按行查看 历史
Coder慌 提交于 2024-05-16 17:26 . fix: 问题修复
version: "3.9"
services:
mysql:
image: "mysql:8"
container_name: mayfly-go-mysql
environment:
MYSQL_ROOT_PASSWORD: 111049
MYSQL_DATABASE: mayfly-go
TZ: Asia/Shanghai
volumes:
- ./server/docs/docker-compose/mysql/data/mydir:/mydir
- ./server/docs/docker-compose/mysql/data/datadir:/var/lib/mysql
restart: always
server:
image: ccr.ccs.tencentyun.com/mayfly/mayfly-go:v1.8.5
build:
context: .
dockerfile: Dockerfile
container_name: mayfly-go-server
ports:
- "8888:8888"
environment:
TZ: Asia/Shanghai
WAIT_HOSTS: mysql:3306
volumes:
- ./server/config.yml.example:/mayfly/config.yml
depends_on:
- mysql
restart: always
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/xyzone2008/mayfly-go.git
git@gitee.com:xyzone2008/mayfly-go.git
xyzone2008
mayfly-go
mayfly-go
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385