Skip to content

Docker, traefik, nginx static website, YOURLS, nextcloud instance with redis, mariadb and backups, collabora server, quartz blog instance

Notifications You must be signed in to change notification settings

remigerme/remigerme.xyz

Repository files navigation

remigerme.xyz

Installation

Clone recursively this project (to also include quartz instance) :

git clone --recurse-submodules [email protected]:remigerme/remigerme.xyz.git

Upload .env files to the nextcloud and yourls folders. Then :

chmod +x setup.sh && sudo ./setup.sh

Run in production

Run everything :

sudo ./start.sh

Nextcloud backup

A daily backup is done at 2AM.

Disks are checked every 15min. Disable cron task when doing maintenance.

To enable maintenance mode :

sudo docker exec -u www-data nextcloud php /var/www/html/occ maintenance:mode --on

From time to time, manually run :

sudo rsync -Aau --delete /mnt/prod/data/ /mnt/backup/data/

The delete flag allows you to remove junk files from previous backups which don't exist anymore. Do not cron it as it might erase backup if prod disk fails.

Nextcloud update

See this guide, beware : upgrade major versions one by one.

Collabora server

It runs on office.remigerme.xyz. SSL is disabled as Traefik already handles it as a reverse proxy. Still need to configure the WOPI list though.

Blog

The blog is written with Obsidian, synced on the Nextcloud instance using Remotely Save, and generated and served by Quartz.

Note

The blog used to be written on, and served by, Notion. Even if Notion honestly feels great, I prefer having cleaner / human-readable URL slugs.

YOURLS

url.remigerme.xyz errors with 403 which is the intended behaviour. Check out /admin to manually install it the first time or manage short links.

Frequent problems

If HTTPS certificates are self-signed, make sure to run chmod 600 letsencrypt/acme.json (happens frequently after a git pull).

About

Docker, traefik, nginx static website, YOURLS, nextcloud instance with redis, mariadb and backups, collabora server, quartz blog instance

Resources

Stars

Watchers

Forks