Server setup
Installation docker
- See Official Website
Installation docker compose
- See This Website
Setup VPN client
Follow this tutorial
NOTE: on ubuntu, you need to add a symbolic link in order to enable the VPN (source)
ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
Start docker-compose
TODO add .sh script to start in production
Tips
When database credentials are not updated after docker restart, consider using
docker compose rm db
To Do
- Start the VPN client automatically after reboot
Generate self signed certificates
non-interactive and 10 years expiration
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj "/C=homeassistant/ST=Belgium/L=Deerlijk/O=Willem/OU=Willem/CN=willem" -subj '/CN=homeassistant.com'
Description
Languages
Rust
33.8%
C#
22.5%
TypeScript
16.9%
Shell
12.2%
Dockerfile
8.8%
Other
5.8%