mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-09 04:49:02 +08:00
🐳 Work about Docker. add depends_on
This commit is contained in:
1 parent
72eb1aa781
commit
fa2868d9b9
1 file changed
+17
-1
+17
-1
@@ -46,6 +46,8 @@ services:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-gateway/Dockerfile
|
||||
depends_on:
|
||||
- pigx-config
|
||||
restart: always
|
||||
container_name: pigx-gateway
|
||||
image: pigx-gateway
|
||||
@@ -56,6 +58,8 @@ services:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-auth/Dockerfile
|
||||
depends_on:
|
||||
- pigx-config
|
||||
restart: always
|
||||
container_name: pigx-auth
|
||||
image: pigx-auth
|
||||
@@ -64,6 +68,8 @@ services:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-upms/pigx-upms-biz/Dockerfile
|
||||
depends_on:
|
||||
- pigx-config
|
||||
restart: always
|
||||
container_name: pigx-upms
|
||||
image: pigx-upms
|
||||
@@ -72,6 +78,8 @@ services:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-visual/pigx-monitor/Dockerfile
|
||||
depends_on:
|
||||
- pigx-config
|
||||
restart: always
|
||||
image: pigx-monitor
|
||||
container_name: pigx-monitor
|
||||
@@ -82,6 +90,8 @@ services:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-visual/pigx-daemon/Dockerfile
|
||||
depends_on:
|
||||
- pigx-config
|
||||
restart: always
|
||||
image: pigx-daemon
|
||||
container_name: pigx-daemon
|
||||
@@ -92,6 +102,8 @@ services:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-visual/pigx-codegen/Dockerfile
|
||||
depends_on:
|
||||
- pigx-config
|
||||
restart: always
|
||||
image: pigx-codegen
|
||||
container_name: pigx-codegen
|
||||
@@ -101,14 +113,18 @@ services:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-visual/pigx-activiti/Dockerfile
|
||||
depends_on:
|
||||
- pigx-config
|
||||
restart: always
|
||||
image: pigx-activiti
|
||||
container_name: pigx-activiti
|
||||
restart: always
|
||||
|
||||
pigx-tx-manager:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./pigx-visual/pigx-tx-manager/Dockerfile
|
||||
depends_on:
|
||||
- pigx-config
|
||||
restart: always
|
||||
image: pigx-tx-manager
|
||||
container_name: pigx-tx-manager
|
||||
|
||||
Reference in new issue
Block a user