1 Star 0 Fork 649

kang / bbs-go

forked from 码农俱乐部 / bbs-go 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
docker-compose.yml 1.05 KB
Copy Edit Raw Blame History
yeer authored 2019-11-05 00:09 . docker compose
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-admin:
build:
target: application
context: admin
image: mlogclub/bbs-go-admin
depends_on:
- bbs-go-server
environment:
- APP_ENV
restart: on-failure
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: {}
Go
1
https://gitee.com/fk123/bbs-go.git
git@gitee.com:fk123/bbs-go.git
fk123
bbs-go
bbs-go
master

Search