do not start postgres

This commit is contained in:
Claudia Agache
2020-07-07 17:23:25 +03:00
parent a4c26dcc02
commit 68dfb3c1c3

View File

@@ -94,45 +94,45 @@
<id>install-alfresco</id>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.31.0</version>
<executions>
<execution>
<id>start-postgresql</id>
<phase>generate-test-resources</phase>
<goals>
<goal>start</goal>
</goals>
<configuration>
<images>
<image>
<alias>test-database</alias>
<name>postgres:9.1</name>
<run>
<ports>
<port>5432:5432</port>
</ports>
<env>
<POSTGRES_PASSWORD>alfresco</POSTGRES_PASSWORD>
<POSTGRES_USER>alfresco</POSTGRES_USER>
<POSTGRES_DB>alfresco</POSTGRES_DB>
</env>
<cmd>
<shell>-c max_connections=300</shell>
</cmd>
<wait>
<log>database system is ready to accept connections</log>
<time>20000</time>
</wait>
</run>
</image>
</images>
</configuration>
</execution>
</executions>
</plugin>
<!-- <plugin>-->
<!-- <groupId>io.fabric8</groupId>-->
<!-- <artifactId>docker-maven-plugin</artifactId>-->
<!-- <version>0.31.0</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>start-postgresql</id>-->
<!-- <phase>generate-test-resources</phase>-->
<!-- <goals>-->
<!-- <goal>start</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <images>-->
<!-- <image>-->
<!-- <alias>test-database</alias>-->
<!-- <name>postgres:9.1</name>-->
<!-- <run>-->
<!-- <ports>-->
<!-- <port>5432:5432</port>-->
<!-- </ports>-->
<!-- <env>-->
<!-- <POSTGRES_PASSWORD>alfresco</POSTGRES_PASSWORD>-->
<!-- <POSTGRES_USER>alfresco</POSTGRES_USER>-->
<!-- <POSTGRES_DB>alfresco</POSTGRES_DB>-->
<!-- </env>-->
<!-- <cmd>-->
<!-- <shell>-c max_connections=300</shell>-->
<!-- </cmd>-->
<!-- <wait>-->
<!-- <log>database system is ready to accept connections</log>-->
<!-- <time>20000</time>-->
<!-- </wait>-->
<!-- </run>-->
<!-- </image>-->
<!-- </images>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>