|
@@ -0,0 +1,61 @@
|
|
|
+version: '3'
|
|
|
+services:
|
|
|
+ nginx:
|
|
|
+ container_name: app-nginx
|
|
|
+ image: nginx:1.13
|
|
|
+ restart: always
|
|
|
+ ports:
|
|
|
+ - 11800:80
|
|
|
+ volumes:
|
|
|
+ - ./nginx/conf.d:/etc/nginx/conf.d
|
|
|
+ depends_on:
|
|
|
+ - app
|
|
|
+
|
|
|
+ ali1:
|
|
|
+ restart: always
|
|
|
+ container_name: ali_service_1
|
|
|
+ build: ali
|
|
|
+ expose:
|
|
|
+ - "8095"
|
|
|
+
|
|
|
+ # ali2:
|
|
|
+ # restart: always
|
|
|
+ # container_name: ali_service_2
|
|
|
+ # build: ali
|
|
|
+ # expose:
|
|
|
+ # - "8096"
|
|
|
+
|
|
|
+ mt1:
|
|
|
+ restart: always
|
|
|
+ container_name: mt_service_2
|
|
|
+ build: mt
|
|
|
+ expose:
|
|
|
+ - "8090"
|
|
|
+
|
|
|
+ # mt2:
|
|
|
+ # restart: always
|
|
|
+ # container_name: mt_service_2
|
|
|
+ # build: mt
|
|
|
+ # expose:
|
|
|
+ # - "8090"
|
|
|
+
|
|
|
+ consumer-basic:
|
|
|
+ restart: always
|
|
|
+ container_name: consumer-basic
|
|
|
+ build: consumer-basic
|
|
|
+ expose:
|
|
|
+ - "9000"
|
|
|
+
|
|
|
+ consumer-store:
|
|
|
+ restart: always
|
|
|
+ container_name: consumer-store
|
|
|
+ build: consumer-store
|
|
|
+ expose:
|
|
|
+ - "9005"
|
|
|
+
|
|
|
+ web-manager:
|
|
|
+ restart: always
|
|
|
+ container_name: web-manager
|
|
|
+ build: web-manager
|
|
|
+ expose:
|
|
|
+ - "8080"
|