This commit is contained in:
parent
9d704ea463
commit
d45d5ba2e3
|
@ -15,6 +15,8 @@ data:
|
||||||
db_type: sqlite3
|
db_type: sqlite3
|
||||||
db_path: /vol/data/db.sqlite
|
db_path: /vol/data/db.sqlite
|
||||||
private_key_path: /vol/secret/private.key
|
private_key_path: /vol/secret/private.key
|
||||||
|
noise:
|
||||||
|
private_key_path: /vol/secret/noise_private.key
|
||||||
derp:
|
derp:
|
||||||
server:
|
server:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -30,3 +32,4 @@ data:
|
||||||
nameservers:
|
nameservers:
|
||||||
- 9.9.9.9
|
- 9.9.9.9
|
||||||
base_domain: vpn.tobru.ch
|
base_domain: vpn.tobru.ch
|
||||||
|
magic_dns: true
|
||||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
||||||
- command:
|
- command:
|
||||||
- headscale
|
- headscale
|
||||||
- serve
|
- serve
|
||||||
image: ghcr.io/juanfont/headscale:0.16.4
|
image: ghcr.io/juanfont/headscale:0.17.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: GIN_MODE
|
- name: GIN_MODE
|
||||||
|
|
|
@ -33,6 +33,7 @@ data:
|
||||||
temperature=payload["uplink_message"]["decoded_payload"]["TempC_SHT"],
|
temperature=payload["uplink_message"]["decoded_payload"]["TempC_SHT"],
|
||||||
humidity=payload["uplink_message"]["decoded_payload"]["Hum_SHT"],
|
humidity=payload["uplink_message"]["decoded_payload"]["Hum_SHT"],
|
||||||
consumed_airtime=payload["uplink_message"]["consumed_airtime"].replace("s", ""),
|
consumed_airtime=payload["uplink_message"]["consumed_airtime"].replace("s", ""),
|
||||||
|
rssi=payload["uplink_message"]["rx_metadata"][0]["rssi"],
|
||||||
gateway_id=payload["uplink_message"]["rx_metadata"][0]["gateway_ids"][
|
gateway_id=payload["uplink_message"]["rx_metadata"][0]["gateway_ids"][
|
||||||
"gateway_id"
|
"gateway_id"
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
http://:8080 {
|
http://:8080 {
|
||||||
header content-type "application/jrd+json; charset=utf-8"
|
reverse_proxy https://social.tobru.ch {
|
||||||
respond "{\"subject\":\"acct:tobru@mstdn.social\",\"aliases\":[\"https://mstdn.social/@tobru\",\"https://mstdn.social/users/tobru\"],\"links\":[{\"rel\":\"http://webfinger.net/rel/profile-page\",\"type\":\"text/html\",\"href\":\"https://mstdn.social/@tobru\"},{\"rel\":\"self\",\"type\":\"application/activity+json\",\"href\":\"https://mstdn.social/users/tobru\"},{\"rel\":\"http://ostatus.org/schema/1.0/subscribe\",\"template\":\"https://mstdn.social/authorize_interaction?uri={uri}\"}]}"
|
header_up Host "social.tobru.ch"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue