tangled
alpha
login
or
join now
seoul.systems
/
microcosm-rs
forked from
microcosm.blue/microcosm-rs
0
fork
atom
Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
0
fork
atom
overview
issues
pulls
pipelines
try not to forget this next time
bad-example.com
1 month ago
76d99c3c
0f55a937
+26
1 changed file
expand all
collapse all
unified
split
slingshot
readme.md
+26
slingshot/readme.md
···
13
13
```bash
14
14
ulimit -n 4096
15
15
```
16
16
+
17
17
+
## prod deploy
18
18
+
19
19
+
you **must** setcap the binary to run it on apollo!!!!
20
20
+
21
21
+
```bash
22
22
+
sudo setcap CAP_NET_BIND_SERVICE=+eip ../target/release/slingshot
23
23
+
```
24
24
+
25
25
+
then run with
26
26
+
27
27
+
```bash
28
28
+
RUST_BACKTRACE=1 RUST_LOG=info,slingshot=trace /home/ubuntu/links/target/release/slingshot \
29
29
+
--jetstream wss://jetstream1.us-east.fire.hose.cam/subscribe \
30
30
+
--healthcheck https://hc-ping.com/[REDACTED] \
31
31
+
--cache-dir ./foyer \
32
32
+
--record-cache-memory-mb 2048 \
33
33
+
--record-cache-disk-gb 32 \
34
34
+
--identity-cache-memory-mb 1024 \
35
35
+
--identity-cache-disk-gb 8 \
36
36
+
--collect-metrics \
37
37
+
--acme-ipv6 \
38
38
+
--acme-domain slingshot.microcosm.blue \
39
39
+
--acme-contact phil@bad-example.com \
40
40
+
--acme-cache-path /home/ubuntu/certs
41
41
+
```