Go to file
2024-10-26 19:39:17 +02:00
nspawn Add intial configuration 2024-07-24 17:13:59 +02:00
deploy.sh Remove fstab from deployment 2024-10-26 19:39:17 +02:00
README.md Initial commit, with README and deploy script 2024-07-24 17:07:30 +02:00

App server configuration

This repository contains the running configuration files for App server's services (containers).

Use

  • all modifications to services' configurations should be done in this repository and then deployed (see below)
  • then, after it's been tested and validated, a change can be commit and pushed
  • this way, it is easy to revert to last working state

Deployment

Script deploy.sh copies configuration files for selected or all of below services, and then reloads Systemd and restarts said services.

Services

Nspawn containers

We use Systemd Nspawn containers to host our applications. They reside in standard directory /var/lib/machines, each mounted from a BTRFS subvolume (see this repository for more details). These containers' configuration thus reside in 2 places:

  • fstab lists the subvolumes to mount
  • /etc/systemd/nspawn/ contains each container's configuration file