first commit
This commit is contained in:
19
docker/docker-compose.yaml
Normal file
19
docker/docker-compose.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3'
|
||||
services:
|
||||
ymt-ui:
|
||||
build:
|
||||
context: .
|
||||
restart: always
|
||||
container_name: ymt-ui
|
||||
image: ymt-ui
|
||||
networks:
|
||||
- spring_cloud_default
|
||||
external_links:
|
||||
- ymt-gateway
|
||||
ports:
|
||||
- 80:80
|
||||
|
||||
# 加入到后端网络, 默认为 ymt_default | docker network ls 查看
|
||||
networks:
|
||||
spring_cloud_default:
|
||||
external: true
|
||||
Reference in New Issue
Block a user