Skip to content

Commit

Permalink
root docker-compose: expose services only on localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyStoic committed Dec 6, 2024
1 parent 5591519 commit 7600f4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
volumes:
- ./hackerlab/data:/data
ports:
- "2222:22"
- "127.0.0.1:2222:22"
networks:
playground-net:
ipv4_address: 172.20.0.2
Expand All @@ -18,8 +18,8 @@ services:
hostname: dashboard
restart: always
ports:
- "80:80"
- "8080:8080"
- "127.0.0.1:80:80"
- "127.0.0.1:8080:8080"
networks:
playground-net:
ipv4_address: 172.20.0.3
Expand Down

0 comments on commit 7600f4c

Please sign in to comment.