Skip to content

Commit

Permalink
Use loopback interface for nginx, mongo, rabbitmq
Browse files Browse the repository at this point in the history
  • Loading branch information
unoduetre committed Sep 2, 2024
1 parent fd414e8 commit ae6d8ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ services:
volumes:
- mongo-3.6:/data/db
ports:
- "27017:27017"
- "28017:28017"
- "127.0.0.1:27017:27017"
- "127.0.0.1:28017:28017"

mysql-8:
# Using the orcale image because they are available in ARM64 and AMD64 variants
Expand All @@ -90,7 +90,7 @@ services:
rabbitmq:
image: rabbitmq:management
ports:
- 15672:15672
- "127.0.0.1:15672:15672"
volumes:
- rabbitmq:/var/lib/rabbitmq

Expand Down Expand Up @@ -126,7 +126,7 @@ services:
nginx-proxy:
image: jwilder/nginx-proxy:latest
ports:
- "80:80"
- "127.0.0.1:80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock
- ./nginx-proxy.conf:/etc/nginx/proxy.conf
Expand Down

0 comments on commit ae6d8ab

Please sign in to comment.