1 Star 0 Fork 659

南京晓岭科技有限公司/ferry

forked from lanyulei/ferry 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
docker-compose.yml 1.03 KB
Copy Edit Raw Blame History
Acdiost authored 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/nanjing-xiaoling/ferry.git
git@gitee.com:nanjing-xiaoling/ferry.git
nanjing-xiaoling
ferry
ferry
master

Search