1 Star 0 Fork 0

yuhouliming/limon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose-local.yml 955 Bytes
一键复制 编辑 原始数据 按行查看 历史
aircjm 提交于 2020-08-12 22:08 . feat(docker): docker部署调整
version: '3'
services:
limon-server:
container_name: limon-server
build:
context: ./
dockerfile: ./docker/server-Dockerfile
working_dir: /app
environment:
TZ: Asia/Shanghai
volumes:
- ./limon-server:/app
- ~/.m2:/root/.m2
- /var/logs/java/limon:/var/log/java/limon
- ~/.limon/upload:/root/.limon/upload
expose:
- "8085"
ports:
- 8085:8085
command: mvn clean spring-boot:run -Dspring-boot.run.profiles=local -Dmaven.test.skip=true
depends_on:
- limon-redis
restart: always
networks:
net:
ipv4_address: 172.28.1.2
limon-redis:
container_name: limon-redis
image: redis:6.0.6-alpine
ports:
- 6379:6379
environment:
TZ: Asia/Shanghai
restart: always
networks:
net:
ipv4_address: 172.28.1.3
networks:
net:
ipam:
driver: default
config:
- subnet: 172.28.0.0/16
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wuleiming/limon.git
[email protected]:wuleiming/limon.git
wuleiming
limon
limon
master

搜索帮助