Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RabbitMQ and custom config #1690

Closed
twillouer opened this issue Jul 30, 2019 · 3 comments
Closed

RabbitMQ and custom config #1690

twillouer opened this issue Jul 30, 2019 · 3 comments
Labels

Comments

@twillouer
Copy link
Contributor

Hi,

when using

               RabbitMQContainer.withRabbitMQConfig(MountableFile.forHostPath(file.toPath()));

we have a problem in RabbitMQ logs:
config file(s) : /etc/rabbitmq/rabbitmq-custom.conf.config (not found)

I think the right function must be:

    public RabbitMQContainer withRabbitMQConfig(MountableFile rabbitMQConf) {
        withEnv("RABBITMQ_CONFIG_FILE", "/etc/rabbitmq/rabbitmq-custom.config");
        return withCopyFileToContainer(rabbitMQConf, "/etc/rabbitmq/rabbitmq-custom.config");
    }

in org.testcontainers.containers.RabbitMQContainer#withRabbitMQConfig

twillouer added a commit to twillouer/testcontainers-java that referenced this issue Jul 30, 2019
twillouer added a commit to twillouer/testcontainers-java that referenced this issue Aug 3, 2019
twillouer added a commit to twillouer/testcontainers-java that referenced this issue Aug 3, 2019
@stale
Copy link

stale bot commented Oct 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.

@stale stale bot added the stale label Oct 28, 2019
@twillouer
Copy link
Contributor Author

see #1692

@stale stale bot removed the stale label Oct 29, 2019
@stale
Copy link

stale bot commented Jan 27, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.

@stale stale bot added the stale label Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant