Open BE-CH opened 2 years ago
Have you found any solution for this problem?
Have you found any solution for this problem?
Sadly not - I ended up disabling UFW and just using Docker to only expose the ports to the host machine that were necessary.
I am having this same problem, I noticed whenever I use ufw docker the ssl certificate fetching from traefik doesn't work anymore
Please help anyone
Hi!
I have had massive issues with getting UFW and docker to play together! Finally, I almost got it working with the use of the described solution in this repo.
I am now successfully able to allow or deny ports with
ufw
.My problem is, when I enable UFW and start my docker-compose files that has services using
expose:
running on the same docker network. The docker containers (on the same network) are no longer able to reach each other.The docker network
custom_external_network
is inbridge
mode.Its basically container to container communication that breaks when UFW is enabled.
The example below, and with UFW enabled, the api service can't connect to the database, even tho they are on the same docker network.
Anyone has an idea about what I should do?