| proxy | Adding all configs and scripts | |
| .gitignore | Use the new Keyoxide docker image | |
| docker-compose.yml.sample | Use the new Keyoxide docker image | |
| README.md | Improve formatting | |
| rebuild-dockers.sh | Use the new Keyoxide docker image | |
This is a docker-compose way to run a Keyoxide instance behind TOR
Using:
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?
-
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.
-
Setup docker and docker-compose on your server. I recommend the following official guides:
-
Decide on a domain or subdomain to use and setup the A and AAAA records in DNS.
-
Use git to clone my project from https://codeberg.org/Supernova/keyoxide-tor.git into your docker folder.
-
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
-
Run the rebuild-dockers.sh script which will create all the dockers
-
Profit!