Skip to content

Instantly share code, notes, and snippets.

@tuhin47
Last active September 6, 2023 19:10
Show Gist options
  • Save tuhin47/d1c98689636e23c9429bb8a26e25720e to your computer and use it in GitHub Desktop.
Save tuhin47/d1c98689636e23c9429bb8a26e25720e to your computer and use it in GitHub Desktop.
Search code, repositories, users, issues, pull requests... Maven plugin that talks to docker-compose command-line interface - GitHub - br4chu/docker-compose-maven-plugin: Maven plugin that talks to docker-compose command-line interface

Docker Compose Maven Plugin Configuration

Preview:
<plugin>
    <groupId>io.brachu</groupId>
    <artifactId>docker-compose-maven-plugin</artifactId>
    <version>${docker-compose-plugin.version}</version>
    <configuration>
        <projectName>myproject</projectName>
        <file>src/test/resources/custom.docker-compose.yml</file>
        <workDir>src/test/resources</workDir>
        <env>
            <EXTERNAL_PGSQL_PORT>5432</EXTERNAL_PGSQL_PORT>
        </env>
        <wait>
            <value>15</value>
            <unit>SECONDS</unit>
        </wait>
    </configuration>
    <executions>
        <execution>
            <goals>
                <goal>up</goal>
                <goal>down</goal>
            </goals>
        </execution>
    </executions>
</plugin>
Associated Context
Type Code Snippet ( .xml )
Associated Tags Execution Grouping Maven Plugin Framework: Maven Docker Compose maven-release-plugin
📝 Custom Description Search code, repositories, users, issues, pull requests...

Maven plugin that talks to docker-compose command-line interface - GitHub - br4chu/docker-compose-maven-plugin: Maven plugin that talks to docker-compose command-line interface
💡 Smart Description This is a configuration file for Docker Compose plugin, including project name, version, environment variables, and wait time to finish.
This code snippet configures a Maven plugin called "docker-compose-maven-plugin" to run Docker Compose commands. It specifies the project name, the Docker Compose file to use, the working directory, environment variables, and a wait time. It
🔎 Suggested Searches Brachu plugin configuration
Brachu project name and work directory
Brachu docker-compose-maven-plugin config file
Brachu run goal up down goals step
brachu artifactId docker-compose-maven-plugin
How to configure Docker Compose Maven plugin with custom settings
Using Docker Compose Maven plugin to specify project name and file path
Maven plugin for running Docker Compose with environment variables
Executing Docker Compose up and down goals with Maven plugin
Related Links https://github.com/br4chu/docker-compose-maven-plugin
Related People No Related People
Sensitive Information No Sensitive Information Detected
Shareable Link https://tuhin47.pieces.cloud/?p=ed1c41a097
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment