blob: cf611ce67cb4160d4805181708cbe62ddfc68d83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
services = {
forgejo = {
enable = true;
dump.enable = true;
settings = {
DEFAULT = {
APP_NAME = "apothēke";
RUN_MODE = "prod";
APP_SLOGAN = "a place for storing objects.";
RUN_USER = "forgejo";
};
server = {
HTTP_ADDR = "forge.internal";
HTTP_PORT = 3000;
DISABLE_SSH = true;
};
service = {
DISABLE_REGISTRATION = false;
DEFAULT_KEEP_EMAIL_PRIVATE = true;
};
lfs = {
enable = true;
};
};
};
nginx = {
virtualHosts."forge.internal" = {
locations."/" = {
proxyPass = "http://127.0.0.1:3000";
proxyWebsockets = true;
};
};
};
};
}
|
; all rights regarding Text and Data Mining (TDM) are reserved.