- commit
- 90b243e
- parent
- cd31f2a
- author
- Antonio Mika
- date
- 2024-01-14 21:18:19 +0000 UTC
Add prometheus and identd
4 files changed,
+16,
-0
+2,
-0
1@@ -160,6 +160,8 @@ AUTH_V4=
2 AUTH_V6=
3 AUTH_IRCS_V4=$AUTH_V4:6697
4 AUTH_IRCS_V6=[$AUTH_V6]:6697
5+AUTH_IDENTD_V4=$AUTH_V4:113
6+AUTH_IDENTD_V6=[$AUTH_V6]:113
7 AUTH_NETWORK=
8 AUTH_REAL_CERT_MOUNT=
9 AUTH_DOMAIN=http://auth.dev.pico.sh:3006
+2,
-0
1@@ -1,5 +1,7 @@
2 listen ircs://0.0.0.0:6697
3 listen wss://0.0.0.0:8080
4+listen ident://0.0.0.0:113
5+listen http+prometheus://0.0.0.0:9000
6 tls /certs/irc.pico.sh/fullchain.pem /certs/irc.pico.sh/key.pem
7 http-origin chat.pico.sh
8 hostname irc.pico.sh
+10,
-0
1@@ -67,6 +67,11 @@
2 host irc.pico.sh
3 }
4
5+ @ircmetrics {
6+ host irc.pico.sh
7+ path /_app/metrics
8+ }
9+
10 @options {
11 method OPTIONS
12 }
13@@ -88,6 +93,11 @@
14 }
15 }
16
17+ handle @ircmetrics {
18+ rewrite * /metrics
19+ reverse_proxy bouncer:9000
20+ }
21+
22 tls {$APP_EMAIL} {
23 dns cloudflare {$CF_API_TOKEN}
24 resolvers 1.1.1.1
+2,
-0
1@@ -13,6 +13,8 @@ services:
2 ports:
3 - "${AUTH_IRCS_V4:-6697}:6697"
4 - "${AUTH_IRCS_V6:-[::1]:6697}:6697"
5+ - "${AUTH_IDENTD_V4:-113}:113"
6+ - "${AUTH_IDENTD_V6:-[::1]:113}:113"
7 volumes:
8 - ./data/bouncer:/app/db
9 - ./data/certs:/certs