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