1 Star 0 Fork 678

WangCLO/bbs-go

forked from 码农俱乐部/bbs-go 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 925 Bytes
一键复制 编辑 原始数据 按行查看 历史
大猫猫 提交于 2020-08-20 13:35 . 配置Docker启动命令
version: '3.7'
services:
bbs-go-mysql:
image: 'mysql:5.7'
container_name: bbs-go-mysql
environment:
MYSQL_ROOT_PASSWORD: '123456'
# MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
ports:
- 3306:3306
volumes:
- '.docker-compose/mysql/db/conf.d:/etc/mysql/conf.d'
- '.docker-compose/mysql/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d'
bbs-go-server:
image: mlogclub/bbs-go-server
container_name: bbs-go-server
ports:
- 8082:8082
depends_on:
- bbs-go-mysql
build:
target: application
context: server
restart: on-failure
volumes:
- './data:/data/'
bbs-go-site:
image: mlogclub/bbs-go-site
container_name: bbs-go-site
ports:
- 3000:3000
build:
target: application
context: site
depends_on:
- bbs-go-server
restart: on-failure
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/superok/bbs-go.git
git@gitee.com:superok/bbs-go.git
superok
bbs-go
bbs-go
master

搜索帮助