Skip to content

Commit

Permalink
Use absolute file paths in rabbitmq config
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Knowles committed Oct 31, 2016
1 parent e7f3304 commit da66f52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ services:
- 5671-5672:5671-5672
- 15672:15672
volumes:
- ./spec:/spec:ro
# TLS assets are referenced with relative paths, if we tidy then to absolute we can remove this
- ./spec/tls:/var/lib/rabbitmq/spec/tls:ro
- ./spec:/spec:ro
6 changes: 3 additions & 3 deletions spec/config/rabbitmq.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

{rabbit, [
{ssl_listeners, [5671]},
{ssl_options, [{cacertfile,"spec/tls/ca_certificate.pem"},
{certfile,"spec/tls/server_certificate.pem"},
{keyfile,"spec/tls/server_key.pem"},
{ssl_options, [{cacertfile,"/spec/tls/ca_certificate.pem"},
{certfile,"/spec/tls/server_certificate.pem"},
{keyfile,"/spec/tls/server_key.pem"},
{verify,verify_none},
{fail_if_no_peer_cert,false}]},
{loopback_users, []}
Expand Down

0 comments on commit da66f52

Please sign in to comment.