containers tweaks
This commit is contained in:
parent
cebbe7ef11
commit
c71adc0b3a
@ -44,6 +44,8 @@
|
||||
environment = {
|
||||
TZ = "America/Mexico_City";
|
||||
DATABASE_URL = "postgres:///ryot?host=${postgresSocket}";
|
||||
VIDEO_GAMES_TWITCH_CLIENT_ID = "tfu0hw0zbdbu4lco4h72nqkb8krxp9";
|
||||
VIDEO_GAMES_TWITCH_CLIENT_SECRET = "582ecfb01ihv6wnt8zbc9pf3hs9p54";
|
||||
};
|
||||
ports = [ "8765:8000" ];
|
||||
volumes = [ "${postgresSocket}:${postgresSocket}" ];
|
||||
@ -134,7 +136,6 @@
|
||||
lidarr = {
|
||||
autoStart = true;
|
||||
image = "lscr.io/linuxserver/lidarr:latest";
|
||||
user = "1000:100";
|
||||
ports = [ "8686:8686" ];
|
||||
environment = {
|
||||
TZ = "America/Mexico_City";
|
||||
@ -159,7 +160,6 @@
|
||||
mealie = {
|
||||
autoStart = true;
|
||||
image = "ghcr.io/mealie-recipes/mealie:v1.0.0-RC2";
|
||||
user = "1000:100";
|
||||
ports = [ "9925:9000" ];
|
||||
volumes = [ "/var/lib/docker-configs/mealie:/app/data/" ];
|
||||
environment = {
|
||||
|
||||
@ -201,8 +201,7 @@ in {
|
||||
};
|
||||
postgresql = {
|
||||
enable = true;
|
||||
ensureDatabases =
|
||||
[ "paperless" "nextcloud" "mealie" "vaultwarden" "ryot" ];
|
||||
ensureDatabases = [ "paperless" "nextcloud" "ryot" "vaultwarden" ];
|
||||
package = pkgs.postgresql_16;
|
||||
ensureUsers = [
|
||||
{
|
||||
@ -214,17 +213,13 @@ in {
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
{
|
||||
name = "mealie";
|
||||
name = "ryot";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
{
|
||||
name = "vaultwarden";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
{
|
||||
name = "ryot";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
authentication = pkgs.lib.mkOverride 10 ''
|
||||
local all all trust
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user