60 Star 457 Fork 145

GVP码农俱乐部 / bbs-go

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
docker-compose.yml 925 Bytes
Copy Edit Web IDE Raw Blame History
大猫猫 authored 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
Go
1
https://gitee.com/mlogclub/bbs-go.git
git@gitee.com:mlogclub/bbs-go.git
mlogclub
bbs-go
bbs-go
master

Search

152606 8668e384 1899542 133635 2cd7d36e 1899542