Commit dec63e81 authored by Nick Busey's avatar Nick Busey

Merge branch 'tor-docs' into 'master'

Makes sure that Tor is installed so that docs can compile

See merge request !39
parents c65023b9 c868a1b3
Pipeline #45101349 passed with stages
in 52 seconds
......@@ -6,4 +6,6 @@
It is available at [https://bitwarden.{{ domain }}/](https://bitwarden.{{ domain }}/) or [http://bitwarden.{{ domain }}/](http://bitwarden.{{ domain }}/)
It is also available via Tor at [http://bitwarden.{{ tor_domain }}/](http://bitwarden.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://bitwarden.{{ tor_domain }}/](http://bitwarden.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://bulletnotes.{{ domain }}/](https://bulletnotes.{{ domain }}/) or [http://bulletnotes.{{ domain }}/](http://bulletnotes.{{ domain }}/)
It is also available via Tor at [http://bulletnotes.{{ tor_domain }}/](http://bulletnotes.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://bulletnotes.{{ tor_domain }}/](http://bulletnotes.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://emby.{{ domain }}/](https://emby.{{ domain }}/) or [http://emby.{{ domain }}/](http://emby.{{ domain }}/)
It is also available via Tor at [http://emby.{{ tor_domain }}/](http://emby.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://emby.{{ tor_domain }}/](http://emby.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://money.{{ domain }}/](https://money.{{ domain }}/) or [http://money.{{ domain }}/](http://money.{{ domain }}/)
It is also available via Tor at [http://money.{{ tor_domain }}/](http://money.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://money.{{ tor_domain }}/](http://money.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://git.{{ domain }}/](https://git.{{ domain }}/) or [http://git.{{ domain }}/](http://git.{{ domain }}/)
It is also available via Tor at [http://git.{{ tor_domain }}/](http://git.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://git.{{ tor_domain }}/](http://git.{{ tor_domain }}/)
{% endif %}
......@@ -15,4 +15,6 @@ You can login with the default user and pass you setup for HomelabOS.
It is available at [https://grafana.{{ domain }}/](https://grafana.{{ domain }}/) or [http://grafana.{{ domain }}/](http://grafana.{{ domain }}/)
It is also available via Tor at [http://grafana.{{ tor_domain }}/](http://grafana.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://grafana.{{ tor_domain }}/](http://grafana.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://homeassistant.{{ domain }}/](https://homeassistant.{{ domain }}/) or [http://homeassistant.{{ domain }}/](http://homeassistant.{{ domain }}/)
It is also available via Tor at [http://homeassistant.{{ tor_domain }}/](http://homeassistant.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://homeassistant.{{ tor_domain }}/](http://homeassistant.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://inventario.{{ domain }}/](https://inventario.{{ domain }}/) or [http://inventario.{{ domain }}/](http://inventario.{{ domain }}/)
It is also available via Tor at [http://inventario.{{ tor_domain }}/](http://inventario.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://inventario.{{ tor_domain }}/](http://inventario.{{ tor_domain }}/)
{% endif %}
......@@ -8,11 +8,13 @@ It is important to secure Jackett! Access the Jackett dashboard with the links b
scroll down to the `Jackett Configuration` section, and set a value for `Admin Password`.
Hit `Set Password` and you should be good to go.
Set up some indexers in the interface, and now in [Sonarr](/software/sonarr.md) and
Set up some indexers in the interface, and now in [Sonarr](/software/sonarr.md) and
[Radarr](/software/radarr.md) you can setup the link to Jackett.
## Access
The dashboard is available at [https://jackett.{{ domain }}/](https://jackett.{{ domain }}/) or [http://jackett.{{ domain }}/](http://jackett.{{ domain }}/)
It is also available via Tor at [http://jackett.{{ tor_domain }}/](http://jackett.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://jackett.{{ tor_domain }}/](http://jackett.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://mashio.{{ domain }}/](https://mashio.{{ domain }}/) or [http://mashio.{{ domain }}/](http://mashio.{{ domain }}/)
It is also available via Tor at [http://mashio.{{ tor_domain }}/](http://mashio.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://mashio.{{ tor_domain }}/](http://mashio.{{ tor_domain }}/)
{% endif %}
......@@ -8,4 +8,6 @@ During the setup wizard, your Database host should be `db` and the database name
It is available via [https://matomo.{{ domain }}/](https://matomo.{{ domain }}/) or [http://matomo.{{ domain }}/](http://matomo.{{ domain }}/).
It is also available via Tor at [http://matomo.{{ tor_domain }}/](http://matomo.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://matomo.{{ tor_domain }}/](http://matomo.{{ tor_domain }}/)
{% endif %}
......@@ -14,4 +14,6 @@ Then `docker exec -ti homelabos_miniflux_1 /usr/local/bin/miniflux -create-admin
The dashboard is available at [https://rss.{{ domain }}/](https://rss.{{ domain }}/) or [http://rss.{{ domain }}/](http://rss.{{ domain }}/)
It is also available via Tor at [http://rss.{{ tor_domain }}/](http://rss.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://rss.{{ tor_domain }}/](http://rss.{{ tor_domain }}/)
{% endif %}
......@@ -10,4 +10,6 @@ Refer to the [Backup Guide](/setup/backups) for configuration details.
The dashboard is available at [https://minio.{{ domain }}/](https://minio.{{ domain }}/) or [http://minio.{{ domain }}/](http://minio.{{ domain }}/)
It is also available via Tor at [http://minio.{{ tor_domain }}/](http://minio.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://minio.{{ tor_domain }}/](http://minio.{{ tor_domain }}/)
{% endif %}
......@@ -20,4 +20,6 @@ NOW you should be able to access the Monica URL below again, and be presented wi
Monica is available at [https://monica.{{ domain }}/](https://monica.{{ domain }}/) or [http://monica.{{ domain }}/](http://monica.{{ domain }}/)
It is also available via Tor at [http://monica.{{ tor_domain }}/](http://monica.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://monica.{{ tor_domain }}/](http://monica.{{ tor_domain }}/)
{% endif %}
......@@ -17,4 +17,6 @@ Hit `Finish Setup`
It is available at [https://nextcloud.{{ domain }}/](https://nextcloud.{{ domain }}/) or [http://nextcloud.{{ domain }}/](http://nextcloud.{{ domain }}/)
It is also available via Tor at [http://nextcloud.{{ tor_domain }}/](http://nextcloud.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://nextcloud.{{ tor_domain }}/](http://nextcloud.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://paperless.{{ domain }}/](https://paperless.{{ domain }}/) or [http://paperless.{{ domain }}/](http://paperless.{{ domain }}/)
It is also available via Tor at [http://paperless.{{ tor_domain }}/](http://paperless.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://paperless.{{ tor_domain }}/](http://paperless.{{ tor_domain }}/)
{% endif %}
......@@ -10,4 +10,6 @@ Login with the default password you set.
The dashboard is available at [https://pihole.{{ domain }}/](https://pihole.{{ domain }}/) or [http://pihole.{{ domain }}/](http://pihole.{{ domain }}/)
It is also available via Tor at [http://pihole.{{ tor_domain }}/](http://pihole.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://pihole.{{ tor_domain }}/](http://pihole.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://plex.{{ domain }}/](https://plex.{{ domain }}/) or [http://plex.{{ domain }}/](http://plex.{{ domain }}/)
{% if enable_tor %}
It is also available via Tor at [http://plex.{{ tor_domain }}/](http://plex.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://docker.{{ domain }}/](https://docker.{{ domain }}/) or [http://docker.{{ domain }}/](http://docker.{{ domain }}/)
It is also available via Tor at [http://docker.{{ tor_domain }}/](http://docker.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://docker.{{ tor_domain }}/](http://docker.{{ tor_domain }}/)
{% endif %}
......@@ -58,8 +58,12 @@ and downloaded according to your settings.
Sonarr available at [https://sonarr.{{ domain }}/](https://sonarr.{{ domain }}/) or [http://sonarr.{{ domain }}/](http://sonarr.{{ domain }}/)
{% if enable_tor %}
It is also available via Tor at [http://sonarr.{{ tor_domain }}/](http://sonarr.{{ tor_domain }}/)
{% endif %}
Radarr available at [https://radarr.{{ domain }}/](https://radarr.{{ domain }}/) or [http://radarr.{{ domain }}/](http://radarr.{{ domain }}/)
{% if enable_tor %}
It is also available via Tor at [http://radarr.{{ tor_domain }}/](http://radarr.{{ tor_domain }}/)
{% endif %}
......@@ -6,4 +6,6 @@
It is available at [https://sync.{{ domain }}/](https://sync.{{ domain }}/) or [http://sync.{{ domain }}/](http://sync.{{ domain }}/)
It is also available via Tor at [http://sync.{{ tor_domain }}/](http://sync.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://sync.{{ tor_domain }}/](http://sync.{{ tor_domain }}/)
{% endif %}
......@@ -17,4 +17,6 @@ and have your session automatically sync between multiple devices.
The dashboard is available at [https://thelounge.{{ domain }}/](https://thelounge.{{ domain }}/) or [http://thelounge.{{ domain }}/](http://thelounge.{{ domain }}/)
It is also available via Tor at [http://thelounge.{{ tor_domain }}/](http://thelounge.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://thelounge.{{ tor_domain }}/](http://thelounge.{{ tor_domain }}/)
{% endif %}
......@@ -2,10 +2,12 @@
[Transmission](https://transmissionbt.com/) is available for all your torrenting needs.
HomelabOS uses [docker-transmission-openvpn](https://github.com/haugene/docker-transmission-openvpn) to only connect via a VPN. It includes Tinyproxy on port 8888 to provide proxy services over the OpenVPN client connection. To disable the OpenVPN functionality replace the line `image: haugene/transmission-openvpn` with `image: linuxserver/transmission` in `homelabos/templates/docker-compose.yml` then run `make` again from the root directory to update HomelabOS with your new settings.
HomelabOS uses [docker-transmission-openvpn](https://github.com/haugene/docker-transmission-openvpn) to only connect via a VPN. It includes Tinyproxy on port 8888 to provide proxy services over the OpenVPN client connection. To disable the OpenVPN functionality replace the line `image: haugene/transmission-openvpn` with `image: linuxserver/transmission` in `homelabos/templates/docker-compose.yml` then run `make` again from the root directory to update HomelabOS with your new settings.
## Access
It is available at [https://torrent.{{ domain }}/](https://torrent.{{ domain }}/) or [http://torrent.{{ domain }}/](http://torrent.{{ domain }}/)
It is also available via Tor at [http://torrent.{{ tor_domain }}/](http://torrent.{{ tor_domain }}/)
\ No newline at end of file
{% if enable_tor %}
It is also available via Tor at [http://torrent.{{ tor_domain }}/](http://torrent.{{ tor_domain }}/)
{% endif %}
......@@ -31,17 +31,6 @@
roles:
- role: tor
when: enable_tor
hidden_services:
- dir: /var/lib/tor/ssh-onion
port: 22
source: 127.0.0.1:22
- dir: /var/lib/tor/https-onion
port: 443
source: 127.0.0.1:443
- dir: /var/lib/tor/http-onion
port: 80
source: 127.0.0.1:80
- name: "Setup tinc VPN"
tags: tinc
......
......@@ -24,7 +24,7 @@ _None._
| tor_data_directory | | /var/lib/tor |
| tor_password | Password for control port | _None_ |
| tor_root_group | Group of the root-User | root |
| hidden_services | List of services to be set up | _None_ |
| tor_hidden_services| List of services to be set up | _None_ |
##### ***Hidden service***
* **dir**: Directory to store the hidden service configuration.
......@@ -43,7 +43,7 @@ _None._
- hosts: tor
roles:
- role: toke.tor
hidden_services:
tor_hidden_services:
- dir: /var/lib/tor/ssh-onion
port: 22
source: 127.0.0.1:22
......
......@@ -6,3 +6,14 @@ tor_become: true
tor_config_dir: /etc/tor
tor_data_directory: /var/lib/tor
tor_root_group: root
tor_hidden_services:
- dir: /var/lib/tor/ssh-onion
port: 22
source: 127.0.0.1:22
- dir: /var/lib/tor/https-onion
port: 443
source: 127.0.0.1:443
- dir: /var/lib/tor/http-onion
port: 80
source: 127.0.0.1:80
......@@ -14,8 +14,7 @@
mode: 0700
state: directory
with_items:
"{{ hidden_services }}"
when: hidden_services is defined
"{{ tor_hidden_services }}"
- set_fact:
tor_stored_hash: "{{ ansible_local.tor.tor_hashed_password | default(omit)}}"
......@@ -43,5 +42,5 @@
enabled: yes
- name: wait for all tor hidden services hostname files
wait_for: state=present path="{{ item.dir }}/hostname" delay=5
with_items: "{{ hidden_services }}"
with_items: "{{ tor_hidden_services }}"
when: ansible_distribution != "MacOSX"
......@@ -18,9 +18,9 @@ HashedControlPassword {{ tor_password['password_hash'] }}
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
DataDirectory {{ tor_data_directory }}
{% if hidden_services is defined %}
{% if tor_hidden_services is defined %}
## Tor Hidden Service configuration
{% for service in hidden_services %}
{% for service in tor_hidden_services %}
HiddenServiceDir {{ service.dir }}
{% if service.version is defined %}
HiddenServiceVersion {{ service.version }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment