Skip to content

Commit

Permalink
Fix nginx ports
Browse files Browse the repository at this point in the history
expose section allows us to expose specific ports from our container only to other services on the same network. ports are open not only for other services on the same network but also to the host.
  • Loading branch information
DanGould committed Oct 22, 2022
1 parent 1cc41d1 commit 69a6bfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ services:
volumes:
- "./nginx/reverse-https-proxy.conf:/etc/nginx/nginx.conf"
- "./nginx/ssl:/etc/ssl"
expose:
- "3010"
- "3000"
ports:
- "3010:3010"
- "3000:3000"

bitcoind:
restart: unless-stopped
Expand Down

0 comments on commit 69a6bfc

Please # to comment.