1 Star 0 Fork 674

leader20/bbs-go

forked from 码农俱乐部/bbs-go 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 916 Bytes
一键复制 编辑 原始数据 按行查看 历史
大猫猫 提交于 2020-04-16 20:34 . eslint fix
version: '3.7'
services:
bbs-go-server:
build:
target: application
context: server
image: mlogclub/bbs-go-server
depends_on:
- start_dependencies
environment:
- APP_ENV
restart: on-failure
volumes:
- './data:/data/'
start_dependencies:
image: dadarek/wait-for-dependencies
depends_on:
- db
command: db:3306
bbs-go-site:
build:
target: application
context: site
image: mlogclub/bbs-go-site
depends_on:
- bbs-go-server
environment:
- APP_ENV
restart: on-failure
db:
image: 'mysql:5.7'
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
volumes:
- '.docker-compose/mysql/db/conf.d:/etc/mysql/conf.d'
- '.docker-compose/mysql/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d'
volumes:
bbs-go-server: {}
db: {}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lixuda/bbs-go.git
git@gitee.com:lixuda/bbs-go.git
lixuda
bbs-go
bbs-go
master

搜索帮助