Update docs
This commit is contained in:
20
server.md
20
server.md
@@ -4,6 +4,10 @@
|
||||
|
||||
- See [Official Website](https://docs.docker.com/engine/install/ubuntu/)
|
||||
|
||||
## Installation docker compose
|
||||
|
||||
- See [This Website](https://nextgentips.com/2022/05/06/how-to-install-docker-compose-v2-on-ubuntu-22-04/)
|
||||
|
||||
## Setup VPN client
|
||||
|
||||
Follow [this tutorial](https://docs.pivpn.io/wireguard/)
|
||||
@@ -14,23 +18,7 @@ NOTE: on ubuntu, you need to add a symbolic link in order to enable the VPN ([so
|
||||
ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
|
||||
```
|
||||
|
||||
## Setup Home Assistant
|
||||
|
||||
```bash
|
||||
sudo docker run -d \
|
||||
--name homeassistant \
|
||||
--privileged \
|
||||
--restart=unless-stopped \
|
||||
-e TZ=Europe/Brussels \
|
||||
-v /home/willem/homeassistant:/config \
|
||||
--network=host \
|
||||
ghcr.io/home-assistant/home-assistant:stable
|
||||
```
|
||||
|
||||
Now, home assistant can be accessed at http://<host>:8123
|
||||
|
||||
## To Do
|
||||
|
||||
- Now, you can only connect to the home assistant server when you are connected to the VPN - is this OK or should this be changed?
|
||||
- Start the VPN client automatically after reboot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user