1 Star 0 Fork 639

簡殫de緈諨/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"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/aspx5/ferry.git
[email protected]:aspx5/ferry.git
aspx5
ferry
ferry
master

搜索帮助