Add deploy on docker hub

This commit is contained in:
Nicolas Héron 2019-03-08 11:20:18 +01:00
commit d7172af02a
6 changed files with 204 additions and 39 deletions

View file

@ -25,6 +25,176 @@ services:
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:
mongodb:
mongodb_config:

View file

@ -372,12 +372,8 @@
<version>0.21.0</version>
<configuration>
<!--registry>192.168.1.184:12500</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>
<images>
<image>
@ -390,9 +386,9 @@
<assembly>
<descriptorRef>artifact</descriptorRef>
</assembly>
<tags>
<!--tags>
<tag>latest</tag>
</tags>
</tags-->
</build>
@ -417,6 +413,7 @@
<id>mydeploy</id>
<phase>deploy</phase>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
</execution>

View file

@ -216,12 +216,8 @@
<version>0.21.0</version>
<configuration>
<!--registry>192.168.1.184:12500</registry-->
<dockerHost>${docker.Host}</dockerHost>
<!-- this is for Mac and Amazon Linux -->
<!--dockerHost>unix:///var/run/docker.sock</dockerHost-->
<registry>registry.hub.docker.com/pymmasoftware</registry>
<dockerHost>unix:///var/run/docker.sock</dockerHost>
<verbose>true</verbose>
<images>
<image>
@ -244,9 +240,7 @@
</files>
</inline>
</assembly>
<tags>
<tag>latest</tag>
</tags>
</build>
@ -261,6 +255,10 @@
</run>
</image>
</images>
<authConfig>
<username>pymmasoftwaredeploy</username>
<password>pymmalomme</password>
</authConfig>
</configuration>
<executions>
@ -270,6 +268,7 @@
<id>mydeploy</id>
<phase>deploy</phase>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
</execution>

View file

@ -161,12 +161,8 @@
<version>0.21.0</version>
<configuration>
<!--registry>192.168.1.184:12500</registry-->
<dockerHost>${docker.Host}</dockerHost>
<!-- this is for Mac and Amazon Linux -->
<!--dockerHost>unix:///var/run/docker.sock</dockerHost-->
<registry>registry.hub.docker.com/pymmasoftware</registry>
<dockerHost>unix:///var/run/docker.sock</dockerHost>
<verbose>true</verbose>
<images>
<image>
@ -178,9 +174,6 @@
<assembly>
<descriptorRef>artifact</descriptorRef>
</assembly>
<tags>
<tag>latest</tag>
</tags>
</build>
@ -192,6 +185,10 @@
</run>
</image>
</images>
<authConfig>
<username>pymmasoftwaredeploy</username>
<password>pymmalomme</password>
</authConfig>
</configuration>
<executions>
@ -201,6 +198,7 @@
<id>mydeploy</id>
<phase>deploy</phase>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
</execution>

View file

@ -304,12 +304,8 @@
<version>0.21.0</version>
<configuration>
<!--registry>192.168.1.184:12500</registry-->
<dockerHost>${docker.Host}</dockerHost>
<!-- this is for Mac and Amazon Linux -->
<!--dockerHost>unix:///var/run/docker.sock</dockerHost-->
<registry>registry.hub.docker.com/pymmasoftware</registry>
<dockerHost>unix:///var/run/docker.sock</dockerHost>
<verbose>true</verbose>
<images>
<image>
@ -337,15 +333,18 @@
</run>
</image>
</images>
<authConfig>
<username>pymmasoftwaredeploy</username>
<password>pymmalomme</password>
</authConfig>
</configuration>
<executions>
<execution>
<id>mydeploy</id>
<phase>deploy</phase>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
</execution>

View file

@ -176,12 +176,8 @@
<version>0.21.0</version>
<configuration>
<!--registry>192.168.1.184:12500</registry-->
<dockerHost>${docker.Host}</dockerHost>
<!-- this is for Mac and Amazon Linux -->
<!--dockerHost>unix:///var/run/docker.sock</dockerHost-->
<registry>registry.hub.docker.com/pymmasoftware</registry>
<dockerHost>unix:///var/run/docker.sock</dockerHost>
<verbose>true</verbose>
<images>
<image>
@ -207,6 +203,10 @@
</run>
</image>
</images>
<authConfig>
<username>pymmasoftwaredeploy</username>
<password>pymmalomme</password>
</authConfig>
</configuration>
<executions>
@ -216,6 +216,8 @@
<id>mydeploy</id>
<phase>deploy</phase>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
</execution>