mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Remove test services
This commit is contained in:
parent
4be62a69ed
commit
f689018302
8 changed files with 3 additions and 208 deletions
|
|
@ -18,10 +18,6 @@
|
|||
owner = config.services.borgbackup.jobs.data.user;
|
||||
key = "borg/client_keys/backend1/private";
|
||||
};
|
||||
wikiJsEnvFile = {
|
||||
key = "wikijs-test/service_env_file";
|
||||
restartUnits = [ "wiki-js.service" ];
|
||||
};
|
||||
};
|
||||
|
||||
custom = {
|
||||
|
|
@ -76,27 +72,6 @@
|
|||
services.mastodon.enable = true;
|
||||
};
|
||||
|
||||
services.wiki-js = {
|
||||
enable = true;
|
||||
settings = {
|
||||
db.type = "postgres";
|
||||
db.host = "10.0.1.11";
|
||||
db.db = "wikijs-test";
|
||||
db.user = "wikijs-test";
|
||||
db.pass = "$(DB_PASS)";
|
||||
};
|
||||
environmentFile = config.sops.secrets.wikiJsEnvFile.path;
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."wikijs-test.froidmont.org" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString config.services.wiki-js.settings.port}";
|
||||
};
|
||||
};
|
||||
|
||||
services.uptime-kuma = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue