1 Star 0 Fork 652

我不是传哥/ferry

forked from lanyulei/ferry 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
Acdiost 提交于 2022-07-13 14:28 . Update docker-compose.yml
version: '3'
services:
ferry_mysql:
image: mysql:8
container_name: ferry_mysql
restart: unless-stopped
# 可开放出来
#ports:
# - 3306:3306
environment:
MYSQL_ROOT_PASSWORD: '123456'
MYSQL_DATABASE: 'ferry'
MYSQL_USER: 'ferry'
MYSQL_PASSWORD: '123456'
volumes:
- './mysql/db:/var/lib/mysql'
- '/etc/localtime:/etc/localtime:ro'
ferry_redis:
container_name: ferry_redis
image: redis:latest
restart: unless-stopped
# 可开放出来
#ports:
# - 6379:6379
command: redis-server --save 60 1 --loglevel warning
ferry:
build:
context: "."
dockerfile: "Dockerfile"
image: ferry:latest
container_name: ferry
restart: unless-stopped
depends_on:
- ferry_mysql
- ferry_redis
ports:
- "8002:8002"
volumes:
- '/etc/localtime:/etc/localtime:ro'
- './config:/opt/workflow/ferry/config'
logging:
driver: json-file
options:
max-size: "10m"
max-file: "10"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lecykx/ferry.git
git@gitee.com:lecykx/ferry.git
lecykx
ferry
ferry
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385