ArchLinux
Community Contributed
This guide was contributed by the community and is neither officially supported, nor updated or tested.
These are instructions for pacman based distributions, like ArchLinux. The package is available from the AUR or from GitHub.
Features
- systemd integration.
- Provide configuration for Nginx.
- Use socket activation.
- Use a non-root user.
- Apply migrations automatically.
Installation
-
Clone the package, build and install with makepkg:
or use your favourite AUR helper.git clone https://aur.archlinux.org/tandoor-recipes-git.git cd tandoor-recipes-git makepkg -si
-
Setup a PostgreSQL database and user, as explained here: https://docs.tandoor.dev/install/manual/#setup-postgresql
-
Configure the service in
/etc/tandoor/tandoor.conf
. -
Reinstall the package, or follow the official instructions to have tandoor creates its DB tables.
-
Optionally configure a reverse proxy. A configuration for Nginx is provided, but you can Traefik, Apache, etc.. Edit
/etc/nginx/sites-available/tandoor.conf
. You may want to use anotherserver_name
, or configure TLS. Then:cd /etc/nginx/sites-enabled ln -s ../sites-available/tandoor.conf systemctl restart nginx
-
Enable the service
systemctl enable --now tandoor
Upgrade
cd tandoor-recipes-git
git pull
makepkg -sif
Help
This package is non-official. Issues should be posted to https://github.com/jdecourval/tandoor-recipes-pkgbuild or https://aur.archlinux.org/packages/tandoor-recipes-git.