This commit is contained in:
2024-10-06 13:12:09 +02:00
parent c6032456c3
commit 414cbded95
8 changed files with 196 additions and 88 deletions

View File

@@ -1,37 +0,0 @@
# Server setup
## Installation docker
- 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/)
NOTE: on ubuntu, you need to add a symbolic link in order to enable the VPN ([source](https://superuser.com/a/1544697))
```bash
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
```bash
docker compose rm db
```
## To Do
- Start the VPN client automatically after reboot