Files
ootbee-beedk/beedk-acs-search-rad-tile/tile.xml
2021-04-22 15:58:20 -04:00

84 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
<profiles>
<profile>
<id>rad-acs-search</id>
<activation>
<property>
<name>rad</name>
</property>
</activation>
<build>
<plugins>
<!-- Using Docker for ACS Search -->
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${beedk.plugins.fabric8.docker.version}</version>
<executions>
<execution>
<id>run-acs-search</id>
<phase>process-classes</phase>
<goals><goal>start</goal></goals>
<configuration>
<images>
<image>
<name>alfresco/alfresco-search-services:${acs-search.version}</name>
<alias>acs-search</alias>
<run>
<env>
<SOLR_ALFRESCO_HOST>${project.artifactId}-acs-platform</SOLR_ALFRESCO_HOST>
<SOLR_ALFRESCO_PORT>8080</SOLR_ALFRESCO_PORT>
<SOLR_SOLR_HOST>${project.artifactId}-acs-search</SOLR_SOLR_HOST>
<SOLR_SOLR_PORT>8983</SOLR_SOLR_PORT>
<SOLR_CREATE_ALFRESCO_DEFAULTS>alfresco</SOLR_CREATE_ALFRESCO_DEFAULTS>
<ALFRESCO_SECURE_COMMS>none</ALFRESCO_SECURE_COMMS>
</env>
<ports>
<port>${acs-search.port}:8983</port>
</ports>
<network>
<mode>custom</mode>
<name>${project.artifactId}</name>
</network>
</run>
</image>
</images>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>default-props</id>
<activation>
<property>
<name>!some-prop-that-never-exists</name>
</property>
</activation>
<properties>
<!-- configurable -->
<acs-search.port>8983</acs-search.port>
<!-- versions -->
<acs-search.version>2.0.1</acs-search.version>
<!-- configuring beedk-acs-platform-rad-tile -->
<!-- this tells the platform module to enable solr6 indexing -->
<beedk.rad.acs-search.enabled>true</beedk.rad.acs-search.enabled>
</properties>
</profile>
</profiles>
<tiles>
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
<tile>com.inteligr8.ootbee:beedk-run-tile:1.0-SNAPSHOT</tile>
</tiles>
</project>