Skip to content

Cannot set config from ENV vars #63

Closed
@nhalm

Description

If I try to set a configuration option with -e flag I get:
/docker-entrypoint.sh: line 56: /etc/rabbitmq/rabbitmq.config: Permission denied

It looks like the docker-entrypoint.sh is not able to write to /etc/rabbitmq/rabbitmq.config.

If I changed the Dockerfile to add the chmod line this prolem is resolved.

RUN echo '[{rabbit, [{loopback_users, []}]}].' > /etc/rabbitmq/rabbitmq.config
RUN chmod 666 /etc/rabbitmq/rabbitmq.config

Is that a pull request that will work for you guys?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions