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