enable mariadb
This commit is contained in:
@@ -19,6 +19,7 @@ in
|
|||||||
./nas-apps/sonarr.nix
|
./nas-apps/sonarr.nix
|
||||||
./nas-apps/radarr.nix
|
./nas-apps/radarr.nix
|
||||||
./nas-apps/sabnzbd.nix
|
./nas-apps/sabnzbd.nix
|
||||||
|
./nas-apps/mariadb.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable nix flakes and nix-command tools
|
# Enable nix flakes and nix-command tools
|
||||||
@@ -232,6 +233,7 @@ in
|
|||||||
programs = {
|
programs = {
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
virt-manager.enable = true;
|
virt-manager.enable = true;
|
||||||
|
nix-ld.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure nixpkgs
|
# Configure nixpkgs
|
||||||
|
|||||||
21
nas-apps/mariadb.nix
Normal file
21
nas-apps/mariadb.nix
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
# sonarr
|
||||||
|
virtualisation.oci-containers.containers."mariadb" = {
|
||||||
|
autoStart = true;
|
||||||
|
image = "linuxserver/mariadb";
|
||||||
|
ports = [ "3306:3306" ];
|
||||||
|
volumes = [
|
||||||
|
"/mnt/Safe\ SSD/mariadb:/config"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
PUID = "911";
|
||||||
|
PGID = "1000";
|
||||||
|
TZ = "America/Chicago";
|
||||||
|
MYSQL_ROOT_PASSWORD = "BogieDudie1";
|
||||||
|
MYSQL_DATABASE = "jallen_nextcloud";
|
||||||
|
MYSQL_USER = "mjallen";
|
||||||
|
MYSQL_PASSWORD = "BogieDudie1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user