1 Star 0 Fork 753

mengyujin/mayfly-go_1

forked from dromara/mayfly-go 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yaml 716 Bytes
一键复制 编辑 原始数据 按行查看 历史
王一之 提交于 2023-07-22 01:43 . ci: 优化镜像构建和docker compose
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: mayfly-go:v1.3.1
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/mengyujin/mayfly-go_1.git
[email protected]:mengyujin/mayfly-go_1.git
mengyujin
mayfly-go_1
mayfly-go_1
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385