Project to manage my services. https://viyurz.fr
Find a file
2025-12-13 12:59:41 +01:00
nginx matrix: Add support for Element Call 2025-09-07 14:07:04 +02:00
projects update hedgedoc to v1.10.5 2025-12-06 18:02:04 +01:00
.gitignore Annihilate ansible 2024-10-16 18:48:51 +02:00
check-nginx-logs.sh Add check-nginx-logs.sh 2025-09-07 14:26:04 +02:00
env.yml Add jellyfin backup 2025-10-20 20:23:42 +02:00
fstab.part fix fireshare perm issue 2025-12-13 12:59:41 +01:00
manage.py manage.py: Fix abs path of compose file 2025-07-27 10:34:45 +02:00
monitoring.py monitoring: update smb threshold 2025-12-06 09:31:34 +01:00
monitoring.service monitoring: Add Matrix alert 2025-05-01 23:26:33 +02:00
nftables.conf.mako matrix: Add support for Element Call 2025-09-07 14:07:04 +02:00
psql-create-db-user.sh [psql-create-db-user.sh] Switch to Podman 2024-10-16 18:52:00 +02:00
README.md Rename mailserver to stalwart + upgrade to v0.13 from v0.11 2025-07-27 10:35:55 +02:00
secrets.yml.example matrix: Add support for Element Call 2025-09-07 14:07:04 +02:00
setup.sh setup.sh: Disable podman-auto-update service/timer 2024-11-01 10:05:45 +01:00

vps

This repository contains all the files I use to manage my services hosted on viyurz.fr.

Requirements

Initial setup

Run the setup script:

./setup.sh

SSL certificates

Install Certbot:

sudo apt install -y certbot python3-certbot-dns-ovh python3-certbot-nginx

Request certificates:

# For the NGINX reverse proxy
sudo certbot certonly --nginx -d viyurz.fr,*.viyurz.fr

# For Coturn
bash <(wget -q -O - https://github.com/zerossl/zerossl-bot/raw/master/get-zerosslbot.sh)
sudo zerossl-bot certonly --nginx -m viyurz@viyurz.fr -d turn.viyurz.fr

# For Stalwart
sudo certbot certonly --nginx -d mail.viyurz.fr

Secrets

Copy the existing secrets.yml.example file to secrets.yml and fill the variables.

Storagebox

Add credential:

/etc/storagebox-cifs-credentials.txt
---
username=MYUSERNAME
password=MYPASSWORD

Copy the file fstab and edit it accordingly (username and potentially uids/gids).

Backups

Create a cronjob to periodically backup all projects:

0 4 * * * /home/viyurz/vps/manage.py backup ''