1
0
Fork
You've already forked keyoxide-tor
0
A docker-compose setup for running Keyoxide behind TOR
  • Shell 59%
  • Dockerfile 41%
2020年09月13日 18:28:24 +02:00
proxy Adding all configs and scripts 2020年07月27日 21:06:11 +00:00
.gitignore Use the new Keyoxide docker image 2020年09月13日 16:21:03 +00:00
docker-compose.yml.sample Use the new Keyoxide docker image 2020年09月13日 16:21:03 +00:00
README.md Improve formatting 2020年09月13日 18:28:24 +02:00
rebuild-dockers.sh Use the new Keyoxide docker image 2020年09月13日 16:21:03 +00:00

This is a docker-compose way to run a Keyoxide instance behind TOR

Using:

Keyoxide

goldy/tor-hidden-service

jwilder/nginx-proxy

jrcs/letsencrypt-nginx-proxy-companion

With a few docker skills, you can get your own Keyoxide instance running with both a clearnet website and a Tor address.

How to use this?

  1. Make sure you have a server which is appropriately hardened against pwnage and does not have a web server currently running on it. If you do, you will need to modify these configurations to conform to your setup. Taken as is, these configuration setup a new nginx reverse proxy.

  2. Setup docker and docker-compose on your server. I recommend the following official guides:

  3. Decide on a domain or subdomain to use and setup the A and AAAA records in DNS.

  4. Use git to clone my project from https://codeberg.org/Supernova/keyoxide-tor.git into your docker folder.

  5. Copy the docker-compose.yml.sample file to docker-compose.yml and edit the file to add your website domain details. These are the lines to modify:

    VIRTUAL_HOST: subdomain.domain.tld

    LETSENCRYPT_HOST: subdomain.domain.tld

    LETSENCRYPT_EMAIL: username@domain.tld

    DOMAIN: subdomain.domain.tld

    ONION_URL: http://toraddress.onion

  6. Run the rebuild-dockers.sh script which will create all the dockers

  7. Profit!