Skip to content

Commit

Permalink
Fix enivronment variable and directory permissions for rabbitmq image.
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Lorenc <dlorenc@chainguard.dev>
  • Loading branch information
dlorenc committed Jan 6, 2023
1 parent 4da7b96 commit 0eb794d
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 0eb794d

Please sign in to comment.