feat(infra): add multi-stage dockerfiles for PaaS deployment
This commit is contained in:
@@ -13,7 +13,8 @@ services:
|
||||
|
||||
gateway:
|
||||
build:
|
||||
context: ./axhub-gateway
|
||||
context: .
|
||||
dockerfile: axhub-gateway/Dockerfile
|
||||
ports:
|
||||
- "8281:8081"
|
||||
volumes:
|
||||
@@ -38,7 +39,8 @@ services:
|
||||
|
||||
tool-sms:
|
||||
build:
|
||||
context: ./axhub-tool-sms
|
||||
context: .
|
||||
dockerfile: axhub-tool-sms/Dockerfile
|
||||
ports:
|
||||
- "8282:8082"
|
||||
depends_on:
|
||||
@@ -58,7 +60,8 @@ services:
|
||||
- GLOW_COMMUNICATION_EAI_PORT=8080
|
||||
tool-email:
|
||||
build:
|
||||
context: ./axhub-tool-email
|
||||
context: .
|
||||
dockerfile: axhub-tool-email/Dockerfile
|
||||
ports:
|
||||
- "8283:8083"
|
||||
depends_on:
|
||||
@@ -78,7 +81,8 @@ services:
|
||||
- GLOW_COMMUNICATION_EAI_PORT=8080
|
||||
tool-other:
|
||||
build:
|
||||
context: ./axhub-tool-other
|
||||
context: .
|
||||
dockerfile: axhub-tool-other/Dockerfile
|
||||
ports:
|
||||
- "8284:8084"
|
||||
depends_on:
|
||||
@@ -98,7 +102,8 @@ services:
|
||||
- GLOW_COMMUNICATION_EAI_PORT=8080
|
||||
tool-payment:
|
||||
build:
|
||||
context: ./axhub-tool-payment
|
||||
context: .
|
||||
dockerfile: axhub-tool-payment/Dockerfile
|
||||
ports:
|
||||
- "8285:8085"
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user