Added many docker compose files. Added system configuration.
This commit is contained in:
parent
793f9560c0
commit
6f1ba6bde5
18
SystemConfigurations/William/bashrc
Normal file
18
SystemConfigurations/William/bashrc
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#
|
||||||
|
# ~/.bashrc
|
||||||
|
#
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
parse_git_branch() {
|
||||||
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
|
||||||
|
}
|
||||||
|
|
||||||
|
neofetch
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
|
||||||
|
export PS1="\[\e[36m\][\[\e[m\]\[\e[36m\]\A\[\e[m\]\[\e[36m\]]\[\e[m\] \[\e[34m\]\u\[\e[m\]\[\e[35m\]@\[\e[m\]\[\e[31m\]\h\[\e[m\] \[\e[32m\]\w\[\e[m\] \[\e[31m\]\$(parse_git_branch)\[\e[m\]\\$ "
|
||||||
|
|
||||||
|
# export PS1="\u@\h \[\e[32m\]\w \[\e[91m\]\$(parse_git_branch)\[\e[00m\]$ "
|
||||||
|
#PS1='[\u@\h \W]\$ '
|
||||||
|
#PS1="\u@\h \[\e[32m\]\w \[\e[91m\]\$(parse_git_branch)\[\e[00m\]$ "
|
@ -23,6 +23,12 @@
|
|||||||
* meshroom
|
* meshroom
|
||||||
* papermerge
|
* papermerge
|
||||||
* Gameyfin
|
* Gameyfin
|
||||||
|
* Booksonic-antivirus
|
||||||
|
* Davos (FTP automation tool)
|
||||||
|
* wger (gym manager)
|
||||||
|
* libreoffice (web libreoffice instance)
|
||||||
|
* chronos (schedule python scripts)
|
||||||
|
* TrueCommand (aggregated control of TrueNAS devices)
|
||||||
|
|
||||||
### Dashboards
|
### Dashboards
|
||||||
|
|
||||||
@ -48,6 +54,7 @@
|
|||||||
* KonvaJS
|
* KonvaJS
|
||||||
* LazyLibrarian
|
* LazyLibrarian
|
||||||
* KdenLive
|
* KdenLive
|
||||||
|
* Zusam
|
||||||
* Flarum
|
* Flarum
|
||||||
* FlaskBB
|
* FlaskBB
|
||||||
* Traccar
|
* Traccar
|
||||||
|
12
dockercompose/bind9/config/named.conf
Normal file
12
dockercompose/bind9/config/named.conf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
acl internal {
|
||||||
|
20.0.0.0/8
|
||||||
|
};
|
||||||
|
|
||||||
|
options {
|
||||||
|
forwarders {
|
||||||
|
1.1.1.1;
|
||||||
|
8.8.8.8;
|
||||||
|
};
|
||||||
|
allow-query { internal; };
|
||||||
|
|
||||||
|
};
|
17
dockercompose/bind9/docker-compose.yml
Normal file
17
dockercompose/bind9/docker-compose.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
bind9:
|
||||||
|
container_name: dns-server-bind9
|
||||||
|
image: ubuntu/bind9:9.18-22.04_beta
|
||||||
|
environment:
|
||||||
|
- BIND9_USER=root
|
||||||
|
- TZ=America/Chicago
|
||||||
|
ports:
|
||||||
|
- "53:53/tcp"
|
||||||
|
- "53:53/udp"
|
||||||
|
volumes:
|
||||||
|
- .config:/etc/bind
|
||||||
|
- .cache:/var/cache/bind
|
||||||
|
- .records:/var/lib/bind
|
||||||
|
restart: always
|
21
dockercompose/bookstack/docker-compose.yml
Normal file
21
dockercompose/bookstack/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
version: "2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
bookstack:
|
||||||
|
image: lscr.io/linuxserver/bookstack
|
||||||
|
container_name: bookstack
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- APP_URL=https://bookstack.example.com
|
||||||
|
- DB_HOST=192.168.1.11
|
||||||
|
- DB_PORT=3306
|
||||||
|
- DB_USER=bookstack
|
||||||
|
- DB_PASS=<REPLACE>
|
||||||
|
- DB_DATABASE=bookstackapp
|
||||||
|
volumes:
|
||||||
|
- ./config:/config
|
||||||
|
ports:
|
||||||
|
- 6875:80
|
||||||
|
restart: unless-stopped
|
||||||
|
|
21
dockercompose/dockerComposeStarter.sh
Normal file
21
dockercompose/dockerComposeStarter.sh
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
VAR_LOG_DIR="/home/prod/compose/logs"
|
||||||
|
VAR_LOG_FILE="docker-compose-starter.log"
|
||||||
|
|
||||||
|
logInfo(){
|
||||||
|
echo "--[`date "+%Y/%m/%d %H:%M:%S"`] -- INFO -- $@" >> ${VAR_LOG_DIR}/${VAR_LOG_FILE};
|
||||||
|
}
|
||||||
|
|
||||||
|
logError(){
|
||||||
|
echo "--[`date "+%Y/%m/%d %H:%M:%S"`] -- ERROR -- $@" >> ${VAR_LOG_DIR}/${VAR_LOG_FILE};
|
||||||
|
}
|
||||||
|
|
||||||
|
PROD_HOME_PATH_COMPOSE="/home/prod/compose"
|
||||||
|
KEEP_UP_LIST_FILE="$PROD_HOME_PATH_COMPOSE/keep-up-list.txt"
|
||||||
|
|
||||||
|
for i in $(cat $KEEP_UP_LIST_FILE); do
|
||||||
|
cd $PROD_HOME_PATH_COMPOSE/$i
|
||||||
|
logInfo "'$i' is now starting..."
|
||||||
|
docker compose up -d >> ${VAR_LOG_DIR}/${i}.log 2>&1
|
||||||
|
done
|
9
dockercompose/hoppscotch/docker-compose.yml
Normal file
9
dockercompose/hoppscotch/docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
hoppscotch:
|
||||||
|
container_name: hoppscotch
|
||||||
|
image: hoppscotch/hoppscotch:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 3232:3000
|
25
dockercompose/i2p/docker-compose.yml
Normal file
25
dockercompose/i2p/docker-compose.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
version: "3.5"
|
||||||
|
services:
|
||||||
|
i2p:
|
||||||
|
image: geti2p/i2p
|
||||||
|
network_mode: host
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./i2pconfig:/i2p/.i2p
|
||||||
|
- i2ptorrents:/i2psnark
|
||||||
|
ports:
|
||||||
|
- 4444:4444
|
||||||
|
- 6668:6668
|
||||||
|
- 7657:7657
|
||||||
|
- 34254:12345
|
||||||
|
- 34254:12345/udp
|
||||||
|
environment:
|
||||||
|
- JVM_XMX=512m
|
||||||
|
|
||||||
|
# Like most NFS mounts, optional but recommended
|
||||||
|
volumes:
|
||||||
|
i2ptorrents:
|
||||||
|
driver_opts:
|
||||||
|
type: "nfs"
|
||||||
|
o: "addr=10.0.10.10,nolock,soft,rw" # <- Update your NAS IP address
|
||||||
|
device: ":/mnt/General_Tank/General/Public/I2P_Torrents" # <- Update the path on your NAS
|
9
dockercompose/telegraf/docker-compose.yml
Normal file
9
dockercompose/telegraf/docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
telegraf:
|
||||||
|
image: telegraf
|
||||||
|
container_name: telegraf
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./mytelegraf.conf:/etc/telegraf/telegraf.conf
|
20
dockercompose/telegraf/mytelegraf.conf
Normal file
20
dockercompose/telegraf/mytelegraf.conf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
[agent]
|
||||||
|
Hostname = "ubuntu-server-prod"
|
||||||
|
|
||||||
|
[global_tags]
|
||||||
|
machineAddress = "192.168.1.30"
|
||||||
|
|
||||||
|
# Output Configuration for telegraf agent
|
||||||
|
[[outputs.influxdb_v2]]
|
||||||
|
## Point to your influxdb container
|
||||||
|
urls = ["http://192.168.1.41:8086"]
|
||||||
|
## insecure_skip_verify = true
|
||||||
|
## Token for authentication.
|
||||||
|
token = "WfD0-l-9P0-sXdKlAtItiE7BE19Fbzoz6uTepeWusOWNkh2VMu52NqGgehCznjU24KyH82EO32gduOYEM76Nag=="
|
||||||
|
## Organization is the name of the organization you wish to write to; must exist.
|
||||||
|
organization = "VeritableValor"
|
||||||
|
## Destination bucket to write into.
|
||||||
|
bucket = "telegraf"
|
||||||
|
[[inputs.ping]]
|
||||||
|
## Hosts to send ping packets to.
|
||||||
|
urls = ["1.1.1.1", "google.com", "rebeccavpn.ddns.net", "10.0.0.1"]
|
205
simmonsbank/zelle.md
Normal file
205
simmonsbank/zelle.md
Normal file
@ -0,0 +1,205 @@
|
|||||||
|
# Zelle Simmonsbank API
|
||||||
|
|
||||||
|
## End Points
|
||||||
|
|
||||||
|
## **/zelle/contacts**
|
||||||
|
|
||||||
|
```
|
||||||
|
GET https://login.simmonsbank.com/a/consumer/api/users/<user_id>/zelle/contacts
|
||||||
|
```
|
||||||
|
|
||||||
|
**Request Headers**
|
||||||
|
```
|
||||||
|
GET /a/consumer/api/users/<user_id>/zelle/contacts HTTP/1.1
|
||||||
|
Host: login.simmonsbank.com
|
||||||
|
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
|
||||||
|
Accept: */*
|
||||||
|
Accept-Language: en-US,en;q=0.5
|
||||||
|
Accept-Encoding: gzip, deflate, br
|
||||||
|
Referer: https://login.simmonsbank.com/zelle/send
|
||||||
|
content-type: application/json
|
||||||
|
DNT: 1
|
||||||
|
Sec-Fetch-Dest: empty
|
||||||
|
Sec-Fetch-Mode: cors
|
||||||
|
Sec-Fetch-Site: same-origin
|
||||||
|
Connection: keep-alive
|
||||||
|
Cookie: deviceId=online-4143dd29-2e5d-48f0-bb11-1f7bab083f1a; _ga=GA1.2.1594192046.1672293713; ndsSessionId=a9805476a7dd491186ec6305e477f84c; _gid=GA1.2.604206711.1690213908; ndcd=wc1.1.w-729460.1.2.6z2HuaV-0UXR6afcvlskGQ%252C%252C.zJ7H45_JsBgbg0Bnghm9SYUo0_qyKe7fUd-X9nBttodS2g99XuJKOZZFIXHWQDQ5u-cx0tVgyjDjwLVNetMAJNYyIPh98mBeYAG53wCxx2zycYwFnZ5Jal8RbEUTsijQgJdGWD7kz0ddiT6-2NPnMoHJsH2Vs851ADZ4ioBPchV0IwMf5GTxvJrBF0693Rah; ConsumerJwt=<JWT>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Response Headers**
|
||||||
|
```
|
||||||
|
HTTP/1.1 200 OK
|
||||||
|
date: Mon, 24 Jul 2023 15:54:14 GMT
|
||||||
|
content-type: application/json
|
||||||
|
content-length: 804
|
||||||
|
x-request-id: 78db274309ca392dd3c1044327c58408
|
||||||
|
x-b3-traceid: cd4a6730e3ccd8da
|
||||||
|
x-b3-spanid: cd4a6730e3ccd8da
|
||||||
|
x-b3-sampled: 1
|
||||||
|
strict-transport-security: max-age=15724800; includeSubDomains
|
||||||
|
X-Firefox-Spdy: h2
|
||||||
|
```
|
||||||
|
|
||||||
|
**Response**
|
||||||
|
``` json
|
||||||
|
{
|
||||||
|
"contacts": [
|
||||||
|
{
|
||||||
|
"token": {
|
||||||
|
"type": "Email",
|
||||||
|
"value": "northpointlumber@gmail.com"
|
||||||
|
},
|
||||||
|
"firstName": "Jordan",
|
||||||
|
"lastName": "Dick",
|
||||||
|
"hasMadePayment": true,
|
||||||
|
"deliveryEstimate": "The money will typically be available in minutes",
|
||||||
|
"enrolled": false,
|
||||||
|
"zelleReady": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"token": {
|
||||||
|
"type": "Phone",
|
||||||
|
"value": "+19407368137"
|
||||||
|
},
|
||||||
|
"firstName": "Alison",
|
||||||
|
"lastName": "Lewis",
|
||||||
|
"paymentRailName": {
|
||||||
|
"firstName": "Alison",
|
||||||
|
"lastName": "Lewis"
|
||||||
|
},
|
||||||
|
"hasMadePayment": true,
|
||||||
|
"deliveryEstimate": "The money will typically be available in minutes",
|
||||||
|
"enrolled": true,
|
||||||
|
"zelleReady": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## **/zelle/tokens**
|
||||||
|
|
||||||
|
```
|
||||||
|
GET https://login.simmonsbank.com/a/consumer/api/users/<user_id>/zelle/tokens
|
||||||
|
```
|
||||||
|
|
||||||
|
**Request Headers**
|
||||||
|
```
|
||||||
|
GET /a/consumer/api/users/<user_id>/zelle/tokens HTTP/1.1
|
||||||
|
Host: login.simmonsbank.com
|
||||||
|
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
|
||||||
|
Accept: */*
|
||||||
|
Accept-Language: en-US,en;q=0.5
|
||||||
|
Accept-Encoding: gzip, deflate, br
|
||||||
|
Referer: https://login.simmonsbank.com/zelle/send
|
||||||
|
content-type: application/json
|
||||||
|
DNT: 1
|
||||||
|
Sec-Fetch-Dest: empty
|
||||||
|
Sec-Fetch-Mode: cors
|
||||||
|
Sec-Fetch-Site: same-origin
|
||||||
|
Connection: keep-alive
|
||||||
|
Cookie: deviceId=online-4143dd29-2e5d-48f0-bb11-1f7bab083f1a; _ga=GA1.2.1594192046.1672293713; ndsSessionId=a9805476a7dd491186ec6305e477f84c; _gid=GA1.2.604206711.1690213908; ndcd=wc1.1.w-729460.1.2.6z2HuaV-0UXR6afcvlskGQ%252C%252C.zJ7H45_JsBgbg0Bnghm9SYUo0_qyKe7fUd-X9nBttodS2g99XuJKOZZFIXHWQDQ5u-cx0tVgyjDjwLVNetMAJNYyIPh98mBeYAG53wCxx2zycYwFnZ5Jal8RbEUTsijQgJdGWD7kz0ddiT6-2NPnMoHJsH2Vs851ADZ4ioBPchV0IwMf5GTxvJrBF0693Rah; ConsumerJwt=<JWT>
|
||||||
|
```
|
||||||
|
|
||||||
|
**Response Headers**
|
||||||
|
```
|
||||||
|
HTTP/1.1 200 OK
|
||||||
|
date: Mon, 24 Jul 2023 15:54:13 GMT
|
||||||
|
content-type: application/json
|
||||||
|
content-length: 254
|
||||||
|
x-request-id: 61a420fec11a42b01e9eff8ba5c556e8
|
||||||
|
x-b3-traceid: 50fd1ed39ea63424
|
||||||
|
x-b3-spanid: 50fd1ed39ea63424
|
||||||
|
x-b3-sampled: 1
|
||||||
|
strict-transport-security: max-age=15724800; includeSubDomains
|
||||||
|
X-Firefox-Spdy: h2
|
||||||
|
```
|
||||||
|
|
||||||
|
**Response**
|
||||||
|
``` json
|
||||||
|
{
|
||||||
|
"unenrolledTokens": [],
|
||||||
|
"enrolledTokens": [
|
||||||
|
{
|
||||||
|
"token": {
|
||||||
|
"type": "Email",
|
||||||
|
"value": "walewis@protonmail.com"
|
||||||
|
},
|
||||||
|
"accountId": "cb9e6f97-720f-47fa-b0dc-a4473a427049"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"token": {
|
||||||
|
"type": "Phone",
|
||||||
|
"value": "+19407369100"
|
||||||
|
},
|
||||||
|
"accountId": "cb9e6f97-720f-47fa-b0dc-a4473a427049"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## **/zelle/payments**
|
||||||
|
|
||||||
|
```
|
||||||
|
POST https://login.simmonsbank.com/a/consumer/api/users/<user_id>/zelle/payments
|
||||||
|
```
|
||||||
|
|
||||||
|
**Request Headers**
|
||||||
|
```
|
||||||
|
POST /a/consumer/api/users/<user_id>/zelle/payments HTTP/1.1
|
||||||
|
Host: login.simmonsbank.com
|
||||||
|
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
|
||||||
|
Accept: */*
|
||||||
|
Accept-Language: en-US,en;q=0.5
|
||||||
|
Accept-Encoding: gzip, deflate, br
|
||||||
|
Content-Type: application/json
|
||||||
|
Content-Length: 149
|
||||||
|
Referer: https://login.simmonsbank.com/zelle/send
|
||||||
|
Origin: https://login.simmonsbank.com
|
||||||
|
DNT: 1
|
||||||
|
Sec-Fetch-Dest: empty
|
||||||
|
Sec-Fetch-Mode: cors
|
||||||
|
Sec-Fetch-Site: same-origin
|
||||||
|
Connection: keep-alive
|
||||||
|
Cookie: deviceId=online-4143dd29-2e5d-48f0-bb11-1f7bab083f1a; _ga=GA1.2.1594192046.1672293713; ndsSessionId=a9805476a7dd491186ec6305e477f84c; _gid=GA1.2.604206711.1690213908; ndcd=wc1.1.w-729460.1.2.6z2HuaV-0UXR6afcvlskGQ%252C%252C.zJ7H45_JsBgbg0Bnghm9SYUo0_qyKe7fUd-X9nBttodS2g99XuJKOZZFIXHWQDQ5u-cx0tVgyjDjwLVNetMAJNYyIPh98mBeYAG53wCxx2zycYwFnZ5Jal8RbEUTsijQgJdGWD7kz0ddiT6-2NPnMoHJsH2Vs851ADZ4ioBPchV0IwMf5GTxvJrBF0693Rah; ConsumerJwt=<JWT>; _gat=1
|
||||||
|
```
|
||||||
|
|
||||||
|
**Request**
|
||||||
|
``` json
|
||||||
|
{
|
||||||
|
"amount": "34",
|
||||||
|
"fundingAccountId": "cb9e6f97-720f-47fa-b0dc-a4473a427049",
|
||||||
|
"recipientToken": {
|
||||||
|
"type": "Phone",
|
||||||
|
"value": "+19405318986"
|
||||||
|
},
|
||||||
|
"note": "Groceries"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Response Headers**
|
||||||
|
```
|
||||||
|
HTTP/1.1 200 OK
|
||||||
|
date: Mon, 24 Jul 2023 16:09:53 GMT
|
||||||
|
content-type: application/json
|
||||||
|
content-length: 33
|
||||||
|
x-request-id: 553743cd46ac1e0a1d3441d9b403054f
|
||||||
|
x-b3-traceid: 7c7d9b960adf4485
|
||||||
|
x-b3-spanid: 7c7d9b960adf4485
|
||||||
|
x-b3-sampled: 1
|
||||||
|
strict-transport-security: max-age=15724800; includeSubDomains
|
||||||
|
X-Firefox-Spdy: h2
|
||||||
|
```
|
||||||
|
|
||||||
|
**Response**
|
||||||
|
``` json
|
||||||
|
{
|
||||||
|
"confirmationId": "JCXS0009p7hY"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
205
|
||||||
|
28.50
|
||||||
|
|
||||||
|
1 -> 2 ....
|
||||||
|
1 -> 3 .
|
||||||
|
1 -> 4
|
10
wireguard/rebeccavpn/windows-template_rebeccavpn.conf
Normal file
10
wireguard/rebeccavpn/windows-template_rebeccavpn.conf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Interface]
|
||||||
|
PrivateKey = -----------------------------
|
||||||
|
Address = 10.0.0.X/32
|
||||||
|
DNS = 1.1.1.1
|
||||||
|
|
||||||
|
[Peer]
|
||||||
|
PublicKey = ms2k1Hg7ccc6JeYKFBx/gnUBHBpnnd/9M16Kzs7/WVw=
|
||||||
|
AllowedIPs = 0.0.0.0/0
|
||||||
|
Endpoint = 74.197.253.147:51820
|
||||||
|
PersistentKeepalive = 25
|
Loading…
x
Reference in New Issue
Block a user