~dricottone/huttese

ref: 6476da76a8eeec0a2a48c53eefcaf3eae20c144a huttese/sr/etc/sr.ht/config.ini -rw-r--r-- 4.0 KiB
6476da76Dominic Ricottone Refactoring 2 years ago
                                                                                
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
[sr.ht]
site-name=tatooine
site-info=https://dominic-ricottone.com
site-blurb=hutt
owner-name=Dominic Ricottone
owner-email=me@dominic-ricottone.com

#environment=production
environment=development

# URL for source code?
source-url=https://git.sr.ht/~sircmpwn/srht
# URL for privacy policy?
privacy-policy=
# Email address to contact regarding security?
security-address=

# try: `srht-keygen service`
service-key=REDACTED
# try: `srht-keygen network`
network-key=REDACTED

redis-host=redis://huttredis


[objects]
s3-upstream=
s3-access-key=
s3-secret-key=

[mail]
smtp-host=tatooine
smtp-port=25
smtp-from=hutt@tatooine
smtp-encryption=insecure
smtp-auth=none
smtp-user=
smtp-password=

# Email address to dump exceptions at?
error-to=me@dominic-ricottone.com
error-from=hutt@tatooine

pgp-privkey=/etc/sr.ht/pgp.key
pgp-pubkey=/etc/sr.ht/pgp.pubkey
pgp-key-id=REDACTED


[webhooks]
# try: `srht-keygen webhook`
private-key=REDACTED


[git.sr.ht]
origin=http://git.intra.dominic-ricottone.com
debug-host=0.0.0.0
debug-port=5001
api-origin=http://localhost:5101
# try: meta.localhost/oauth
oauth-client-id=CHANGEME
oauth-client-secret=CHANGEME
repos=/rar/lib/git/
post-update-script=/usr/bin/gitsrht-update-hook
outgoing-domain=tatooine

# SQLAlchemy connection string
#connection-string=postgresql://postgres@huttpg:5432/git.sr.ht
connection-string=postgresql://postgres@huttpg:5432/git.sr.ht?sslmode=disable
migrate-on-upgrade=yes

# Webhooks connection string
webhooks=redis://huttredis:6379/1

s3-bucket=
s3-prefix=



[git.sr.ht::api]
max-complexity=200
max-duration=3s
internal-ipnet=127.0.0.0/8,::1/128,192.168.0.0/16,10.0.0.0/8


[git.sr.ht::dispatch]
/usr/bin/gitsrht-keys=git:git
#/usr/bin/buildsrht-keys=builds:builds


[lists.sr.ht]
origin=http://localhost:5006
# try: meta.localhost/oauth
oauth-client-id=
oauth-client-secret=
api-origin=http://localhost:5106
posting-domain=lists.tatooine
allow-new-lists=no

# debug host
debug-host=0.0.0.0
debug-port=5006

# SQLAlchemy connection string
#connection-string=postgresql://postgres@huttpg:5432/lists.sr.ht
connection-string=postgresql://postgres@huttpg:5432/lists.sr.ht?sslmode=disable
migrate-on-upgrade=yes

# Webhooks connection string
webhooks=redis://huttredis:6379/1

# Celery connection string
redis=redis://huttredis:6379/0

# Trusted upstream SMTP server generating Authentication-Results header fields
msgauth-server=tatooine


[lists.sr.ht::worker]
protocol=lmtp
sock=/tmp/lists.sr.ht-lmtp.sock
sock-group=postfix

# Content types to reject?
reject-mimetypes=text/html

# URL for rejection notice?
reject-url=https://man.sr.ht/lists.sr.ht/etiquette.md


[lists.sr.ht::api]
max-complexity=200
max-duration=90s
internal-ipnet=127.0.0.0/8,::1/128,192.168.0.0/16,10.0.0.0/8


[lists.sr.ht::redirects]


[meta.sr.ht]
origin=http://localhost:5000
welcome-emails=no
api-origin=http://localhost:5100

# Debug host
debug-host=0.0.0.0
debug-port=5000

# SQLAlchemy connection string
#connection-string=postgresql://postgres@huttpg:5432/meta.sr.ht
connection-string=postgresql://postgres@huttpg:5432/meta.sr.ht?sslmode=disable
migrate-on-upgrade=yes

# Webhooks connection string
webhooks=redis://huttredis:6379/1


[meta.sr.ht::api]
max-complexity=200
max-duration=3s
internal-ipnet=127.0.0.0/8,::1/128,192.168.0.0/16,10.0.0.0/8


[meta.sr.ht::settings]
registration=no
onboarding-redirect=https://dominic-ricottone.com
user-invites=0


[meta.sr.ht::aliases]


[meta.sr.ht::billing]
enabled=no

# Stripe API
stripe-public-key=
stripe-secret-key=


[meta.sr.ht::auth]
#auth-method=unix-pam
auth-method=builtin


[meta.sr.ht::auth::unix-pam]
email-default-domain=dominic-ricottone.com
service=sshd
admin-group=wheel
create-users=no
user-group=srht


[todo.sr.ht]
origin=http://localhost:5003
debug-host=0.0.0.0
debug-port=5003
# try: meta.localhost/oauth
oauth-client-id=
oauth-client-secret=
notify-from=hutt@tatooine

# SQLAlchemy connection string
#connection-string=postgresql://postgres@huttpg:5432/todo.sr.ht
connection-string=postgresql://postgres@huttpg:5432/todo.sr.ht?sslmode=disable
migrate-on-upgrade=yes

# Webhooks connection string
webhooks=redis://huttredis:6379/1