step: removing unused parts

This commit is contained in:
Jakob Gegeniger committed 2026-10-16 23:24:01 +02:00
1 parent 91ff390180
commit 84fa3ee3b4
12 files changed
+138 -523

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
services:
exodus-burg-stett-king-arth-web:
image: git.excaliburs-erben.de/exodus/web-king-arth-maintenance:latest
container_name: web-king-arth-maintenance
restart: unless-stopped
environment:
- VITE_APP_ENV=production
networks:
default:
name: proxy_net
external: true
+13 -40
View File
@@ -3,57 +3,30 @@
setup password
```sh
docker exec --user 1883 -it mosquitto mosquitto_passwd /mosquitto/config/passwd nextuser
docker exec --user 1883 -it mosquitto mosquitto_passwd /mosquitto/config/passwd exodususer
docker exec --user 1883 -it mosquitto mosquitto_passwd -c /mosquitto/config/passwd exodususer
awesomeexodusoutdooradventures
```
## Test
## simple
```sh
mosquitto_sub -h 91.99.29.8 -t outdoor/king-arthur/sword/run
```
## safe
mosquitto_pub -h nerdyssey.de -p 8883 -t "outdoor/king-arthur/sword/int" -m "Hello Secure World!" -u "exodususer" -P "awesomeexodusoutdooradventures"
```sh
mosquitto_sub -L mqtts://excaliburs-erben.de:8883/outdoor/king-arthur/sword/run -d
mosquitto_sub -L mqtts://excaliburs-erben.de:8883/outdoor/king-arthur/sword/int -d
mosquitto_sub -h nerdyssey.de -p 8883 -t "outdoor/king-arthur/sword/int" -u "exodususer" -P "awesomeexodusoutdooradventures" --capath /etc/ssl/certs/ -d
```
mosquitto_pub -L mqtts://excaliburs-erben.de:8883 -t outdoor/king-arthur/sword/run -m "SetMaintanance"
mosquitto_sub -h mqtts://excaliburs-erben.de:8883 -t "outdoor/king-arthur/sword/int" -u "exodususer" -P "awesomeexodusoutdooradventures"
mosquitto_pub -h <your-server-ip-or-proxy> -t "outdoor/king-arthur/sword/int" -m "Hello Secure World!" -u "exodususer" -P "awesomeexodusoutdooradventures"
```
mosquitto_pub -h excaliburs-erben.de -p 8883 -t "outdoor/king-arthur/sword/int" -m "Hello Secure World!" -u "exodususer" -P "awesomeexodusoutdooradventures"
mosquitto_sub -h excaliburs-erben.de -p 8883 -t "outdoor/king-arthur/sword/int" -u "exodususer" -P "awesomeexodusoutdooradventures" --capath /etc/ssl/certs/ -d
```
- `+` Single-level wildcard: `t1/+/sub2/sub3`
- `#` Multi-level wildcard: `t1/#/sub3`, `t1/#`
```sh
# Publishing topic with message
# -h: Host (optional)
# -t: Topic
# -m: Message
# -q: Quality of service
# -r: Retain (keep this after failed connection)
# -h: Print help info
mosquitto_pub -t someTopic -m 123 -q 1
mosquitto_pub -r -t someTopic -m "on"
mosquitto_pub -h 91.99.29.8 -t someTopic -m 123 -q 1
# Subscribing to
# -h: Host (optional)
# -t: Topic s
# + is wildcard
# # is wildcard for full subtree
# -T: Exclude topic
# -q: Quality of service
mosquitto_sub -t someTopic -q 1
mosquitto_sub -t someTopic/+/subTopic
mosquitto_sub -t bbc/# -T bbc/radio3
mosquitto_sub -h 91.99.29.8 -t someTopic -q 1
```
nc -vz excaliburs-erben.de 8883
nc -vz nerdyssey.de 8883