2019-06-24 19:46:33 +00:00
|
|
|
version: '2.2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
mole:
|
2019-08-08 21:35:17 +00:00
|
|
|
build: client
|
2019-06-24 19:46:33 +00:00
|
|
|
ports:
|
|
|
|
# This is the port you will use to view the service: http://localhost:8880
|
|
|
|
- 8880:8080
|
|
|
|
volumes:
|
|
|
|
# This key must be provided
|
|
|
|
- ./id_rsa_proxy:/mole/.ssh/id_rsa
|
|
|
|
environment:
|
2019-06-24 21:43:17 +00:00
|
|
|
- MOLE_LOCAL_1=0.0.0.0:8080
|
|
|
|
- MOLE_REMOTE_1=web:8080
|
2019-06-24 19:46:33 +00:00
|
|
|
# IP address is the local address of the server. This is to show that it's connecting outside the bridge network
|
2019-08-08 21:35:17 +00:00
|
|
|
- MOLE_SERVER=mole@10.255.55.226:2222
|