Skip to content

Commit

Permalink
Merge pull request #201 from dlorenc/rabbit
Browse files Browse the repository at this point in the history
Fix enivronment variable and directory permissions for rabbitmq image.
  • Loading branch information
jdolitsky authored Jan 6, 2023
2 parents 4da7b96 + 0eb794d commit 3c914a9
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions images/rabbitmq/configs/latest.apko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,26 @@ paths:
gid: 65532
- path: /var/lib/rabbitmq/mnesia
type: directory
permissions: 0o755
permissions: 0o777
uid: 65532
gid: 65532
- path: /var/log/rabbitmq
type: directory
permissions: 0o755
permissions: 0o777
uid: 65532
gid: 65532
- path: /home/rabbitmq
type: directory
permissions: 0o777
uid: 65532
gid: 65532
- path: /var/log/rabbitmq/rabbit
type: directory
permissions: 0o777
uid: 65532
gid: 65532

work-dir: /var/lib/rabbitmq

entrypoint:
command: /usr/sbin/rabbitmq-server
Expand All @@ -31,6 +43,7 @@ environment:
RABBITMQ_CONFIG_FILE: /etc/rabbitmq/rabbitmq.conf
RABBITMQ_ADVANCED_CONFIG_FILE: /etc/rabbitmq/advanced.config
RABBITMQ_CONF_ENV_FILE: /etc/rabbitmq/rabbitmq-env.conf
HOME: /var/lib/rabbitmq

# By convention, the official Docker node image defines a `node` user, but
# doesn't run as it unless the image based on it specifies that user.
Expand Down

0 comments on commit 3c914a9

Please sign in to comment.