enable mariadb
This commit is contained in:
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