Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 464 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 464 Bytes

A simple firewall Docker image based on debian slim to be used in Docker Compose stacks

Procedure:

  • Edit docker-compose.firewall.yaml to set your main service (as a depends_on) and add your firewall rules
  • Add in your docker compose stack using something like docker-compose -f docker-compose.yaml -f docker-compose.firewall.yaml <command>
  • You can 'test' the configuration user: docker-compose -f docker-compose.yaml -f docker-compose.firewall.yaml config