Compare commits
10 Commits
9b31fa1ce7
...
844dba1b8d
Author | SHA1 | Date |
---|---|---|
Arya Kiran | 844dba1b8d | |
Arya Kiran | faa3b0ad9f | |
Arya Kiran | 0c8619adc5 | |
Arya Kiran | 8ed461a976 | |
Skylar "The Cobra" Widulski | e5bbd20eb4 | |
Arya Kiran | eeaace5fc1 | |
Arya Kiran | 438fa3eee4 | |
Skylar "The Cobra" Widulski | c7d5849d08 | |
Skylar "The Cobra" Widulski | 593d32b09c | |
Arya Kiran | ef07b84305 |
|
@ -1,2 +1,2 @@
|
|||
# Internal Documentation - ~vern
|
||||
# Infrastructure Cookbook - ~vern
|
||||
This repo contains documentation for updating, using and fixing ~vern services.
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
1) cd /opt/beatbump
|
||||
2) stash docker-compose.yml in a different directory
|
||||
3) git pull
|
||||
4) diff docker-compose.yml and the old docker-compose.yml and make any necessary changes
|
||||
5) docker-compose down; docker-compose up -d
|
|
@ -0,0 +1,4 @@
|
|||
1) su into libretranslate user, cd into libretranslate
|
||||
2) git pull
|
||||
3) pip install -e .
|
||||
4) go back to tilserv root user; restart libretranslate service
|
|
@ -0,0 +1,2 @@
|
|||
1) cd /var/www/librex; git pull
|
||||
2) Check if there are any changes to config.php.example, if so diff it with config.php and add entries where necessary
|
|
@ -1,4 +1,4 @@
|
|||
Beatbump
|
||||
Beatbump [X]
|
||||
BiblioReads [X]
|
||||
BreezeWiki [X]
|
||||
Dumb [X]
|
||||
|
@ -9,15 +9,15 @@ LibMedium [X]
|
|||
Librarian [X]
|
||||
Libreddit [X]
|
||||
LibremDB [X]
|
||||
LibreTranslate
|
||||
LibreX
|
||||
LibreTranslate [X]
|
||||
LibreX [X]
|
||||
Nitter [X]
|
||||
Piped
|
||||
ProxiTok
|
||||
Piped [X]
|
||||
ProxiTok [X]
|
||||
Quetre [X]
|
||||
Rimgo [X]
|
||||
RSS-Bridge
|
||||
Scribe
|
||||
Scribe [X]
|
||||
SearXNG [X]
|
||||
SimpleAmazon [X]
|
||||
SimpleerTube [X]
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
1) docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once piped-frontend piped-backend ytproxy varnish nginx caddy postgres watchtower
|
|
@ -0,0 +1,5 @@
|
|||
1) cd /opt/docker/proxitok
|
||||
2) store docker-compose.yml in a different directory
|
||||
3) git pull
|
||||
4) diff the old docker-compose.yml and the new docker-compose.yml and make any necessary changes
|
||||
5) docker-compose down; docker-compose up -d
|
|
@ -1,5 +1,5 @@
|
|||
1) ssh 192.168.122.53 (RLVM) from tilserv, su - quetre, cd into quetre dir
|
||||
1) attach to PFCT from tilserv, su - quetre, cd into quetre dir
|
||||
2) git pull
|
||||
3) pnpm install
|
||||
4) if .env.example had updates, diff it with .env and add new entries where necessary.
|
||||
4) go back to RLVM root user, systemctl restart quetre.
|
||||
4) go back to PFCT root user, systemctl restart quetre.
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
1) Attach to PFCT from tilserv, su - medium, cd into scribe dir
|
||||
2) git pull
|
||||
3) NODE_OPTIONS=--openssl-legacy-provider yarn install --no-progress --frozen-lockfile && yarn prod
|
||||
4) shards install --production
|
||||
5) crystal build --static src/start_server.cr && crystal build --static tasks.cr -o run_task
|
||||
6) go back to PFCT root user, systemctl restart scribe.
|
|
@ -1,6 +1,6 @@
|
|||
1) ssh 192.168.122.53 (RLVM) from tilserv, su into whoogle user, cd into whoogle dir
|
||||
1) attach to pfct from tilserv, su into whoogle user, cd into whoogle dir
|
||||
2) git pull
|
||||
3) check if there are any changes to whoogle.template.env; if so then diff it with whoogle.env and add the new vars where necessary
|
||||
4) . ./venv/bin/activate
|
||||
5) pip install -r requirements.txt
|
||||
6) go back to RLVM root user; restart whoogle service
|
||||
6) go back to PFCT root user; restart whoogle service
|
||||
|
|
|
@ -6,5 +6,4 @@ port is the port you chose above, e.g. 11040. two services may not have the same
|
|||
type is optional, only needed if it isn't an http tunnel, it will be "server" for generic TCP tunnels (most non-http), and "udpserver" for UDP tunnels (mumble and minetest use this).
|
||||
host is the address to listen on, will usually be 127.0.0.1 if the service is on the tildeserver (most of the time), or 10.7.0.1 if it's located on the VPS (among-sus used to be). inport is the port to listen on. by default it's 80, meaning web services won't need this option. but for non-http services (e.g. SSH, Gemini) it is required to be inputted (e.g. 22, 1965).
|
||||
Nginx will listen on the `port` value, not the `inport` value, so make the `listen` directive must have the same port as the `port` you used earlier. (you get it).
|
||||
for inr.i2p, use the short form domain (e.g. lr.vern.i2p, git.vern.i2p). the base 64 address can be found with `i2pb64 service_name` (yes, the same service_name as before). the description must start with "~vern (vern.i2p)" and be something along the lines of "~vern (vern.i2p) Libreddit instance" or similar. Since it's a subdomain, it'll ask you to create a file. there is already one there, just `mv` it to the new name they provided (or `rm` it and `touch` the new one, i don't care).
|
||||
Address helper is http://whatever.vern.i2p/?i2paddresshelper=$(i2pb64 whatever)
|
||||
|
|
Loading…
Reference in New Issue