1 Star 0 Fork 38

iikspiral-noah/sim-framework

forked from 勇敢牛牛/sim-framework 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
勇敢牛牛 提交于 2022-08-20 23:35 . docker
version: '3'
services:
sim-system-server:
build: ./target/sim-system-server
ports:
- "8012:8080"
environment:
- SIM_DB_URL=jdbc:mysql://mysql:3306/sim
- SIM_DB_UN=root
- SIM_DB_PW=test
depends_on:
- mysql
deploy:
resources:
limits:
memory: 400M
sim-gateway-server:
build: ./target/sim-gateway-server
ports:
- "7000:8080"
environment:
- SIM_DB_URL=jdbc:mysql://mysql:3306/sim
- SIM_DB_UN=root
- SIM_DB_PW=test
depends_on:
- mysql
- sim-system-server
deploy:
resources:
limits:
memory: 400M
sim-auth-server:
build: ./target/sim-auth-server
ports:
- "8011:8080"
environment:
- SIM_DB_URL=jdbc:mysql://mysql:3306/sim
- SIM_DB_UN=root
- SIM_DB_PW=test
depends_on:
- mysql
- sim-system-server
- redis
deploy:
resources:
limits:
memory: 400M
sim-web:
build: ./target/sim-web
ports:
- "8080:8080"
deploy:
resources:
limits:
memory: 400M
mysql:
image: mysql:5.7
volumes:
- ./docker/db/mysql/data:/var/lib/mysql
- ./docker/db/mysql/conf:/etc/mysql/conf.d
- ./docker/db/init:/docker-entrypoint-initdb.d/
ports:
- "3306:3306"
environment:
- SIM_DB_URL=jdbc:mysql://mysql/sim
- SIM_DB_UN=root
- SIM_DB_PW=test
- MYSQL_ROOT_PASSWORD=test
redis:
image: redis:latest
ports:
- "6379:6379"
deploy:
resources:
limits:
memory: 200M
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/iikspiral-noah/sim-framework.git
git@gitee.com:iikspiral-noah/sim-framework.git
iikspiral-noah
sim-framework
sim-framework
sim-framework-1.0.2

搜索帮助