unoffical wafrn mirror
wafrn.net
atproto
social-network
activitypub
1export interface Environment {
2 prod: boolean
3 logSQLQueries: boolean
4 workers: {
5 mainThread: boolean
6 low: number
7 medium: number
8 high: number
9 }
10 removeFolderNameFromFileUploads: boolean
11 databaseConnectionString: string
12 listenIp: string
13 port: number
14 fediPort: number
15 cachePort: number
16 saltRounds: number
17 jwtSecret: Buffer
18 frontendUrl: string
19 instanceUrl: string
20 mediaUrl: string
21 externalCacheurl: string
22 externalCacheBackups: string[]
23 adminUser: string
24 adminEmail: string
25 adminPassword: string
26 deletedUser: string
27 uploadLimit: number
28 postsPerPage: number
29 logLevel: 'trace' | 'debug' | 'info' | 'warn' | 'error' | string
30 blocklistUrl: string
31 frontedLocation: string
32 bullmqConnection: {
33 host: string
34 port: number
35 db: number
36 }
37 redisioConnection: {
38 host: string
39 port: number
40 db: number
41 }
42 pinoTransportOptions: {
43 targets: {
44 target: string
45 level: 'trace' | 'debug' | 'info' | 'warn' | 'error' | string
46 options: {
47 destination: number | string
48 }
49 }[]
50 }
51 emailConfig: {
52 host: string
53 port: number
54 auth: {
55 user: string
56 pass: string
57 from: string
58 }
59 tls?: {
60 rejectUnauthorized: boolean
61 }
62 }
63 disableRequireSendEmail: boolean
64 blockedIps: string[]
65 reviewRegistrations: boolean
66 ignoreBlockHosts: string[]
67 defaultSEOData: {
68 title: string
69 description: string
70 img: string
71 }
72 enableBsky: boolean
73 bskyPds: string
74 bskyPdsUrl?: string
75 bskyPdsJwtSecret?: string
76 bskyPdsAdminPassword?: string
77 bskyMasterInviteCode?: string
78 webpushPrivateKey: string
79 webpushPublicKey: string
80 webpushEmail: string
81 autoFollowAdmin: boolean
82 registrationLevel: 'PRIVATE' | 'INVITE' | 'PUBLIC'
83 minimumAgeToRegister: number
84 disableShowingBlockedServers: boolean
85 donationUrl?: string
86 frontendEnvironment: any
87}