Compare commits
1 commit
9e06fcf917
...
d33425a0f5
Author | SHA1 | Date | |
---|---|---|---|
Tristan Daniël Maat | d33425a0f5 |
|
@ -1,6 +1,15 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
users = {
|
||||||
|
extraUsers.gitea = {
|
||||||
|
isSystemUser = true;
|
||||||
|
description = "Gitea Service";
|
||||||
|
group = config.users.extraGroups.gitea.name;
|
||||||
|
};
|
||||||
|
extraGroups.gitea = { };
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.pods.gitea = {
|
virtualisation.pods.gitea = {
|
||||||
hostname = "gitea.tlater.net";
|
hostname = "gitea.tlater.net";
|
||||||
publish = [ "3000:3000" "2221:2221" ];
|
publish = [ "3000:3000" "2221:2221" ];
|
||||||
|
@ -18,6 +27,9 @@
|
||||||
DB_USER = "gitea";
|
DB_USER = "gitea";
|
||||||
DB_PASSWD = "/qNDDK9WCMuubfA7D8DFwfl9T+Gy2IMDvPhiNpcxZjY=";
|
DB_PASSWD = "/qNDDK9WCMuubfA7D8DFwfl9T+Gy2IMDvPhiNpcxZjY=";
|
||||||
|
|
||||||
|
USER_UID = toString config.users.extraUsers.gitea.uid;
|
||||||
|
USER_GID = toString config.users.extraGroups.gitea.gid;
|
||||||
|
|
||||||
RUN_MODE = "prod";
|
RUN_MODE = "prod";
|
||||||
DOMAIN = "gitea.tlater.net";
|
DOMAIN = "gitea.tlater.net";
|
||||||
SSH_PORT = "2221";
|
SSH_PORT = "2221";
|
||||||
|
|
Loading…
Reference in a new issue