2023-04-07 15:48:08 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
2023-07-07 16:14:05 +08:00
|
|
|
pig-ui:
|
2023-04-07 15:48:08 +08:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
restart: always
|
2023-06-27 15:21:56 +08:00
|
|
|
container_name: pig-ui
|
|
|
|
image: pig-ui
|
2023-04-07 15:48:08 +08:00
|
|
|
networks:
|
2023-06-27 15:21:56 +08:00
|
|
|
- pig_default
|
2023-04-07 15:48:08 +08:00
|
|
|
external_links:
|
2023-06-27 15:21:56 +08:00
|
|
|
- pig-gateway
|
2023-04-07 15:48:08 +08:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
|
2023-06-27 15:21:56 +08:00
|
|
|
# 加入到后端网络, 默认为 pig_default | docker network ls 查看
|
2023-04-07 15:48:08 +08:00
|
|
|
networks:
|
2023-06-27 15:21:56 +08:00
|
|
|
pig_default:
|
|
|
|
external: true
|