Add deploy on docker hub
This commit is contained in:
parent
ad636fd883
commit
d7172af02a
6 changed files with 204 additions and 39 deletions
|
|
@ -25,6 +25,176 @@ services:
|
||||||
|
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
|
|
||||||
|
admin-console:
|
||||||
|
image: runtime-admin-console
|
||||||
|
container_name: "admin-console"
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.6
|
||||||
|
ports:
|
||||||
|
- 8200:8200
|
||||||
|
links:
|
||||||
|
- businessProxyDB:mongodb
|
||||||
|
- elasticsearchhost
|
||||||
|
- kie-wb
|
||||||
|
depends_on:
|
||||||
|
- businessProxyDB
|
||||||
|
- elasticsearchhost
|
||||||
|
- kie-wb
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
runtime-proxy-1:
|
||||||
|
image: runtime-proxy
|
||||||
|
container_name: "runtime-proxy-1"
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.22
|
||||||
|
ports:
|
||||||
|
- 8090
|
||||||
|
- 9080
|
||||||
|
links:
|
||||||
|
- businessProxyDB:mongodb
|
||||||
|
- kie-wb:kie-wb
|
||||||
|
depends_on:
|
||||||
|
- businessProxyDB
|
||||||
|
- kie-wb
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
runtime-proxy-2:
|
||||||
|
image: runtime-proxy
|
||||||
|
container_name: "runtime-proxy-2"
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.32
|
||||||
|
ports:
|
||||||
|
- 8090
|
||||||
|
- 9080
|
||||||
|
links:
|
||||||
|
- businessProxyDB:mongodb
|
||||||
|
- kie-wb:kie-wb
|
||||||
|
depends_on:
|
||||||
|
- businessProxyDB
|
||||||
|
- kie-wb
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
runtime-proxy-3:
|
||||||
|
image: runtime-proxy
|
||||||
|
container_name: "runtime-proxy-3"
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.42
|
||||||
|
ports:
|
||||||
|
- 8090
|
||||||
|
- 9080
|
||||||
|
links:
|
||||||
|
- businessProxyDB:mongodb
|
||||||
|
- kie-wb:kie-wb
|
||||||
|
depends_on:
|
||||||
|
- businessProxyDB
|
||||||
|
- kie-wb
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
runtime-proxy-4:
|
||||||
|
image: runtime-proxy
|
||||||
|
container_name: "runtime-proxy-4"
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.52
|
||||||
|
ports:
|
||||||
|
- 8090
|
||||||
|
- 9080
|
||||||
|
links:
|
||||||
|
- businessProxyDB:mongodb
|
||||||
|
- kie-wb:kie-wb
|
||||||
|
depends_on:
|
||||||
|
- businessProxyDB
|
||||||
|
- kie-wb
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
runtime-proxy-5:
|
||||||
|
image: runtime-proxy
|
||||||
|
container_name: "runtime-proxy-5"
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.62
|
||||||
|
ports:
|
||||||
|
- 8090
|
||||||
|
- 9080
|
||||||
|
links:
|
||||||
|
- businessProxyDB:mongodb
|
||||||
|
- kie-wb:kie-wb
|
||||||
|
depends_on:
|
||||||
|
- businessProxyDB
|
||||||
|
- kie-wb
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
|
||||||
|
runtime-indexer:
|
||||||
|
image: runtime-indexer
|
||||||
|
container_name: "runtime-indexer"
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.23
|
||||||
|
links:
|
||||||
|
- businessProxyDB:mongodb
|
||||||
|
- elasticsearchhost
|
||||||
|
depends_on:
|
||||||
|
- businessProxyDB
|
||||||
|
- elasticsearchhost
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
runtime-reverse-proxy:
|
||||||
|
image: runtime-reverse-proxy
|
||||||
|
container_name: "runtime-reverse-proxy"
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.25
|
||||||
|
|
||||||
|
links:
|
||||||
|
- businessProxyDB:mongodb
|
||||||
|
depends_on:
|
||||||
|
- businessProxyDB
|
||||||
|
ports:
|
||||||
|
- 9500:9500
|
||||||
|
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
elasticsearchhost:
|
||||||
|
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.1
|
||||||
|
container_name: "elasticsearchhost"
|
||||||
|
ulimits:
|
||||||
|
memlock:
|
||||||
|
soft: -1
|
||||||
|
hard: -1
|
||||||
|
volumes:
|
||||||
|
- esdata2:/usr/share/elasticsearch/data
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.7
|
||||||
|
ports:
|
||||||
|
- 9300:9300
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
businessProxyDB:
|
||||||
|
image: mongo
|
||||||
|
container_name: "businessProxyDB"
|
||||||
|
volumes:
|
||||||
|
- mongodb:/data/db
|
||||||
|
- mongodb_config:/data/configdb
|
||||||
|
networks:
|
||||||
|
drools-network:
|
||||||
|
ipv4_address: 172.27.0.3
|
||||||
|
ports:
|
||||||
|
- 28017:27017
|
||||||
|
command: mongod
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mongodb:
|
mongodb:
|
||||||
mongodb_config:
|
mongodb_config:
|
||||||
|
|
|
||||||
|
|
@ -372,12 +372,8 @@
|
||||||
<version>0.21.0</version>
|
<version>0.21.0</version>
|
||||||
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<!--registry>192.168.1.184:12500</registry-->
|
|
||||||
|
|
||||||
<registry>registry.hub.docker.com/pymmasoftware</registry>
|
<registry>registry.hub.docker.com/pymmasoftware</registry>
|
||||||
<!-- this is for Mac and Amazon Linux -->
|
<dockerHost>unix:///var/run/docker.sock</dockerHost>
|
||||||
<!--dockerHost>unix:///var/run/docker.sock</dockerHost-->
|
|
||||||
|
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
<images>
|
<images>
|
||||||
<image>
|
<image>
|
||||||
|
|
@ -390,9 +386,9 @@
|
||||||
<assembly>
|
<assembly>
|
||||||
<descriptorRef>artifact</descriptorRef>
|
<descriptorRef>artifact</descriptorRef>
|
||||||
</assembly>
|
</assembly>
|
||||||
<tags>
|
<!--tags>
|
||||||
<tag>latest</tag>
|
<tag>latest</tag>
|
||||||
</tags>
|
</tags-->
|
||||||
|
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
@ -417,6 +413,7 @@
|
||||||
<id>mydeploy</id>
|
<id>mydeploy</id>
|
||||||
<phase>deploy</phase>
|
<phase>deploy</phase>
|
||||||
<goals>
|
<goals>
|
||||||
|
<goal>build</goal>
|
||||||
<goal>push</goal>
|
<goal>push</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
|
||||||
|
|
@ -216,12 +216,8 @@
|
||||||
<version>0.21.0</version>
|
<version>0.21.0</version>
|
||||||
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<!--registry>192.168.1.184:12500</registry-->
|
<registry>registry.hub.docker.com/pymmasoftware</registry>
|
||||||
<dockerHost>${docker.Host}</dockerHost>
|
<dockerHost>unix:///var/run/docker.sock</dockerHost>
|
||||||
|
|
||||||
<!-- this is for Mac and Amazon Linux -->
|
|
||||||
<!--dockerHost>unix:///var/run/docker.sock</dockerHost-->
|
|
||||||
|
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
<images>
|
<images>
|
||||||
<image>
|
<image>
|
||||||
|
|
@ -244,9 +240,7 @@
|
||||||
</files>
|
</files>
|
||||||
</inline>
|
</inline>
|
||||||
</assembly>
|
</assembly>
|
||||||
<tags>
|
|
||||||
<tag>latest</tag>
|
|
||||||
</tags>
|
|
||||||
|
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
@ -261,6 +255,10 @@
|
||||||
</run>
|
</run>
|
||||||
</image>
|
</image>
|
||||||
</images>
|
</images>
|
||||||
|
<authConfig>
|
||||||
|
<username>pymmasoftwaredeploy</username>
|
||||||
|
<password>pymmalomme</password>
|
||||||
|
</authConfig>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
||||||
<executions>
|
<executions>
|
||||||
|
|
@ -270,6 +268,7 @@
|
||||||
<id>mydeploy</id>
|
<id>mydeploy</id>
|
||||||
<phase>deploy</phase>
|
<phase>deploy</phase>
|
||||||
<goals>
|
<goals>
|
||||||
|
<goal>build</goal>
|
||||||
<goal>push</goal>
|
<goal>push</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
|
||||||
|
|
@ -161,12 +161,8 @@
|
||||||
<version>0.21.0</version>
|
<version>0.21.0</version>
|
||||||
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<!--registry>192.168.1.184:12500</registry-->
|
<registry>registry.hub.docker.com/pymmasoftware</registry>
|
||||||
<dockerHost>${docker.Host}</dockerHost>
|
<dockerHost>unix:///var/run/docker.sock</dockerHost>
|
||||||
|
|
||||||
<!-- this is for Mac and Amazon Linux -->
|
|
||||||
<!--dockerHost>unix:///var/run/docker.sock</dockerHost-->
|
|
||||||
|
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
<images>
|
<images>
|
||||||
<image>
|
<image>
|
||||||
|
|
@ -178,9 +174,6 @@
|
||||||
<assembly>
|
<assembly>
|
||||||
<descriptorRef>artifact</descriptorRef>
|
<descriptorRef>artifact</descriptorRef>
|
||||||
</assembly>
|
</assembly>
|
||||||
<tags>
|
|
||||||
<tag>latest</tag>
|
|
||||||
</tags>
|
|
||||||
|
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
@ -192,6 +185,10 @@
|
||||||
</run>
|
</run>
|
||||||
</image>
|
</image>
|
||||||
</images>
|
</images>
|
||||||
|
<authConfig>
|
||||||
|
<username>pymmasoftwaredeploy</username>
|
||||||
|
<password>pymmalomme</password>
|
||||||
|
</authConfig>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
||||||
<executions>
|
<executions>
|
||||||
|
|
@ -201,6 +198,7 @@
|
||||||
<id>mydeploy</id>
|
<id>mydeploy</id>
|
||||||
<phase>deploy</phase>
|
<phase>deploy</phase>
|
||||||
<goals>
|
<goals>
|
||||||
|
<goal>build</goal>
|
||||||
<goal>push</goal>
|
<goal>push</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
|
||||||
|
|
@ -304,12 +304,8 @@
|
||||||
<version>0.21.0</version>
|
<version>0.21.0</version>
|
||||||
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<!--registry>192.168.1.184:12500</registry-->
|
<registry>registry.hub.docker.com/pymmasoftware</registry>
|
||||||
<dockerHost>${docker.Host}</dockerHost>
|
<dockerHost>unix:///var/run/docker.sock</dockerHost>
|
||||||
|
|
||||||
<!-- this is for Mac and Amazon Linux -->
|
|
||||||
<!--dockerHost>unix:///var/run/docker.sock</dockerHost-->
|
|
||||||
|
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
<images>
|
<images>
|
||||||
<image>
|
<image>
|
||||||
|
|
@ -337,15 +333,18 @@
|
||||||
</run>
|
</run>
|
||||||
</image>
|
</image>
|
||||||
</images>
|
</images>
|
||||||
|
<authConfig>
|
||||||
|
<username>pymmasoftwaredeploy</username>
|
||||||
|
<password>pymmalomme</password>
|
||||||
|
</authConfig>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
||||||
<executions>
|
<executions>
|
||||||
|
|
||||||
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>mydeploy</id>
|
<id>mydeploy</id>
|
||||||
<phase>deploy</phase>
|
<phase>deploy</phase>
|
||||||
<goals>
|
<goals>
|
||||||
|
<goal>build</goal>
|
||||||
<goal>push</goal>
|
<goal>push</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
|
||||||
|
|
@ -176,12 +176,8 @@
|
||||||
<version>0.21.0</version>
|
<version>0.21.0</version>
|
||||||
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<!--registry>192.168.1.184:12500</registry-->
|
<registry>registry.hub.docker.com/pymmasoftware</registry>
|
||||||
<dockerHost>${docker.Host}</dockerHost>
|
<dockerHost>unix:///var/run/docker.sock</dockerHost>
|
||||||
|
|
||||||
<!-- this is for Mac and Amazon Linux -->
|
|
||||||
<!--dockerHost>unix:///var/run/docker.sock</dockerHost-->
|
|
||||||
|
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
<images>
|
<images>
|
||||||
<image>
|
<image>
|
||||||
|
|
@ -207,6 +203,10 @@
|
||||||
</run>
|
</run>
|
||||||
</image>
|
</image>
|
||||||
</images>
|
</images>
|
||||||
|
<authConfig>
|
||||||
|
<username>pymmasoftwaredeploy</username>
|
||||||
|
<password>pymmalomme</password>
|
||||||
|
</authConfig>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
||||||
<executions>
|
<executions>
|
||||||
|
|
@ -216,6 +216,8 @@
|
||||||
<id>mydeploy</id>
|
<id>mydeploy</id>
|
||||||
<phase>deploy</phase>
|
<phase>deploy</phase>
|
||||||
<goals>
|
<goals>
|
||||||
|
|
||||||
|
<goal>build</goal>
|
||||||
<goal>push</goal>
|
<goal>push</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue