8.7 部署-1
This commit is contained in:
parent
71690bfac5
commit
0f23ef41c7
Binary file not shown.
21
docs/tag/v2.0/docker-compose-app-v2.0.yml
Normal file
21
docs/tag/v2.0/docker-compose-app-v2.0.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
group-buy-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
pay-mall:
|
||||||
|
build:
|
||||||
|
context: ../../..
|
||||||
|
dockerfile: pay-mall-app/Dockerfile
|
||||||
|
image: smile/pay-mall:latest
|
||||||
|
container_name: pay-mall
|
||||||
|
restart: on-failure
|
||||||
|
ports:
|
||||||
|
- '8092:8092'
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
- SPRING_PROFILES_ACTIVE=prod,local
|
||||||
|
networks:
|
||||||
|
- group-buy-network
|
Loading…
x
Reference in New Issue
Block a user