Skip to content

Commit

Permalink
Merge pull request #40 from elzekool/bugfix/INTAINTD-338-force-bindin…
Browse files Browse the repository at this point in the history
…g-to-local-ports

Fix AMQP port binding for magento-2 template
  • Loading branch information
igorwulff authored Mar 2, 2023
2 parents 5a60c9c + a294e68 commit 279eca0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.4.1]
### Security
- [INTAINTD-338] Additionally fixed the port bindings for AMQP in the magento-2 template

## [1.4.0]
### Security
- [INTAINTD-338] Forced binding of all exposed ports to localhost (IPv4). Note that if you have IPv6 enabled and using localhost you might need to explicitly use 127.0.0.1
Expand Down
6 changes: 3 additions & 3 deletions templates/magento-2/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ volumes:
amqp-data:

x-custom:
version: 1.4.0
version: 1.4.1
type: magento-2
environment: &env-vars
# Environment settings
Expand Down Expand Up @@ -95,8 +95,8 @@ services:
- RABBITMQ_DEFAULT_PASS
- RABBITMQ_DEFAULT_VHOST
ports:
- 5672:5672
- 15672:15672
- "127.0.0.1:5672:5672"
- "127.0.0.1:15672:15672"
volumes:
- amqp-data:/var/lib/rabbitmq/

Expand Down

0 comments on commit 279eca0

Please sign in to comment.