fix: mariadb uses id 999 by default kinda suss
This commit is contained in:
parent
f38067ab02
commit
323820f797
1 changed files with 15 additions and 1 deletions
|
|
@ -36,6 +36,8 @@
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--network=projectsend"
|
"--network=projectsend"
|
||||||
];
|
];
|
||||||
|
# Override the default user and group for MariaDB
|
||||||
|
user = "1000:100";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -59,7 +61,19 @@
|
||||||
environment.persistence."/persist" = {
|
environment.persistence."/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
{
|
{
|
||||||
directory = "/var/lib/projectsend";
|
directory = "/var/lib/projectsend/config";
|
||||||
|
user = "sajenim";
|
||||||
|
group = "users";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
directory = "/var/lib/projectsend/data";
|
||||||
|
user = "sajenim";
|
||||||
|
group = "users";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
directory = "/var/lib/projectsend/mysql";
|
||||||
user = "sajenim";
|
user = "sajenim";
|
||||||
group = "users";
|
group = "users";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue