Last active
January 3, 2018 22:31
-
-
Save shivergard/db540771037cfbd2ce60e8629402d332 to your computer and use it in GitHub Desktop.
Hidden SSH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker version 2 example | |
version: "2" | |
services: | |
tor: | |
image: goldy/tor-hidden-service | |
links: | |
- ssh | |
environment: | |
# Set mapping ports | |
SSH_PORTS: "22:22" | |
# Keep keys in volumes | |
volumes: | |
- ./storage/tor-keys:/var/lib/tor/hidden_service/ | |
ssh: | |
image: corbinu/ssh-server | |
ports: | |
- 22:22 | |
volumes: | |
- ./webapp:/opt | |
volumes: | |
tor-keys: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment