1 Star 0 Fork 1.9K

薛凌康/进销存 - Vue+SpringBoot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
version: '3'
services:
redis:
image: redis:6
container_name: psi-redis
environment:
- TZ=Asia/Shanghai
ports:
- '6379:6379'
command: redis-server --appendonly yes
mysql:
image: mysql:5.7
container_name: psi-mysql
volumes:
- ./jeecg-boot/db/my.cnf:/etc/mysql/my.cnf
- ./jeecg-boot/db/:/docker-entrypoint-initdb.d/
environment:
- MYSQL_ROOT_PASSWORD=root
- TZ=Asia/Shanghai
ports:
- '3306:3306'
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
backend:
build:
context: ./
dockerfile: Dockerfile-backend
image: psi-backend:1.0
container_name: psi-backend
environment:
- 'JAVA_OPTS=-Dspring.profiles.active=dev -Dspring.datasource.dynamic.datasource.master.url=jdbc:mysql://mysql:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false -Dspring.redis.host=redis [email protected] -Dspring.mail.password=xxxxxx'
ports:
- '8080:8080'
depends_on:
- redis
- mysql
frontend:
build:
context: ./
dockerfile: Dockerfile-frontend
network: host
image: psi-frontend:1.0
container_name: psi-frontend
ports:
- '80:80'
depends_on:
- backend
networks:
default:
name: psi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/xuelingkang/psi.git
[email protected]:xuelingkang/psi.git
xuelingkang
psi
进销存 - Vue+SpringBoot
master

搜索帮助