1 Star 0 Fork 1.8K

小小马蒂尼/CoreShop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yaml 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
Bobo 提交于 2021-06-20 13:59 . add dockear-componse
version: '3'
services:
frontservice:
container_name: front-backend
build:
context: ./front/publish
dockerfile: Dockerfile
ports:
- 8088:80
labels:
description: 'front backend web'
restart: always
webapiservice:
container_name: web-api
build:
context: ./api/publish
dockerfile: Dockerfile
ports:
- 8089:80
labels:
description: 'web api'
restart: always
redis:
image: redis:latest
restart: always
ports:
- 6379:6379
expose:
- 6379
command:
redis-server
mysql:
image: mysql:5.7.19
restart: always
ports:
- 3306:3306
expose:
- 3306
volumes:
- /usr/local/mysql/data:/var/lib/mysql
- /usr/local/mysql/conf.d:/etc/mysql/conf.d
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --lower_case_table_names=2
environment:
- MYSQL_ROOT_PASSWORD=admin
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/dean2509086054/CoreShop.git
git@gitee.com:dean2509086054/CoreShop.git
dean2509086054
CoreShop
CoreShop
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385