Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

bphenriques/self-hosted

Repository files navigation

This server is being archived as I am moving to a NixOS based installation.

This repository is still relevant if you have a Docker based solution.


Home Server

Hi!

This is how I am currently self-hosting services on a Synology DS923+ (my first NAS/server).

Important

Disclaimer: This is my setup that works for me. I hope it helps you too.

The guidelines I am trying to follow:

  1. Security: I am not an expert, but I do my best.
  2. 3-2-1 Backups: to physical external drive, and encrypted to the cloud (backblaze).
  3. Reproducible: For the most part the services should run locally.

Stack

  • DNS registration: Cloudflare.
  • Reverse proxy: traefik.
  • Authentication / Authorization: pocket-id as OIDC provider for the apps that support it.
  • Remote access: Tailscale. There are other options but this was seamless.

How to

Example of commands available once installed:

$ home-server up --all
$ home-server update service

Note: during the first time, it might ask for sudo to set the docker data directories with the right ownership.

Testing

Requirements:

  1. Add a .env.local:

    export HOME_SERVER_ACME_EMAIL=...
    export HOME_SERVER_CNAME=...
  2. Set DNS-01 Challenge (see cloudflare docs).

  3. Depending on the service, copy and adapt the example secret/environment files.

  4. We should be good to go:

    $ ./bin/local.sh up traefik
  5. Create the user in pocket-id.

  6. Depending on the service, register the client in pocket-id.

About

Self-hosted services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors