forked from pub-solar/infra
Benjamin Yule Bädorf
4f86c92941
This follows the official installation instructions at https://github.com/openbikesensor/portal/blob/main/docs/production-deployment.md Unfortunately, the postgres database needs to have postgis enabled, so we'll have to start a second instance. To stay close to the official deployment instructions, this is running in docker. The secrets were taken from the old installation instance. During initial installation, we'll need to import data from the old instance into this one, which might take a while.
43 lines
986 B
Nix
43 lines
986 B
Nix
{ flake, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
./configuration.nix
|
|
|
|
./networking.nix
|
|
./wireguard.nix
|
|
./backups.nix
|
|
./apps/nginx.nix
|
|
|
|
./apps/collabora.nix
|
|
./apps/coturn.nix
|
|
./apps/forgejo.nix
|
|
./apps/keycloak.nix
|
|
./apps/mailman.nix
|
|
./apps/mastodon.nix
|
|
./apps/mediawiki.nix
|
|
./apps/nextcloud.nix
|
|
./apps/nginx-mastodon.nix
|
|
./apps/nginx-mastodon-files.nix
|
|
./apps/nginx-prometheus-exporters.nix
|
|
./apps/nginx-website.nix
|
|
./apps/nginx-website-miom.nix
|
|
./apps/opensearch.nix
|
|
./apps/owncast.nix
|
|
./apps/postgresql.nix
|
|
./apps/prometheus-exporters.nix
|
|
./apps/promtail.nix
|
|
./apps/searx.nix
|
|
./apps/tmate.nix
|
|
./apps/obs-portal.nix
|
|
|
|
./apps/matrix/irc.nix
|
|
./apps/matrix/mautrix-telegram.nix
|
|
./apps/matrix/synapse.nix
|
|
./apps/nginx-matrix.nix
|
|
];
|
|
}
|