Compare commits
1 Commits
master
...
3f0e821d0d
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f0e821d0d |
@@ -9,3 +9,7 @@
|
||||
# [DOMAIN]/[OWNER]/[IMAGE_NAME]:[TAG]
|
||||
docker build -t git.nerdyssey.de/exodus/burg-stett-king-arth-web:latest .
|
||||
docker push git.nerdyssey.de/exodus/burg-stett-king-arth-web:latest
|
||||
|
||||
#
|
||||
# docker compose pull
|
||||
# docker compose up -d
|
||||
@@ -0,0 +1,17 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
exodus-burg-stett-king-arth-web:
|
||||
image: git.nerdyssey.de/exodus/burg-stett-king-arth-web:latest
|
||||
container_name: exodus-burg-stett-king-arth-web
|
||||
restart: unless-stopped
|
||||
# ports:
|
||||
# - "80:80"
|
||||
# - "443:443"
|
||||
# environment:
|
||||
# - VITE_APP_ENV=production
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: proxy_net
|
||||
external: true
|
||||
@@ -5,6 +5,8 @@ import Players from '../views/Players.vue'
|
||||
import Start from '../views/Start.vue'
|
||||
import Text from '../views/Text.vue'
|
||||
|
||||
const routeBase: string = "nerdyssey.de/exodus/king-arthur"
|
||||
|
||||
const routes: any[] = [
|
||||
{
|
||||
path: '/',
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import mqtt from 'mqtt'
|
||||
|
||||
const mqttBrokerHost = '91.99.29.8'
|
||||
const mqttBrokerPort = 9001
|
||||
const mqttBrokerHost = 'mqtt.nerdyssey.de'
|
||||
const mqttBrokerPort = 443 // 9001 if not secure
|
||||
const mqttBrokerPath = '/mqtt'
|
||||
const mqttUseTls = false
|
||||
const mqttUseTls = true
|
||||
const mqttTopicRoot = 'outdoor/king-arthur/sword/'
|
||||
const mqttMessage = 'start-hit'
|
||||
|
||||
@@ -13,6 +13,7 @@ function getClient(): mqtt.MqttClient {
|
||||
const protocol = mqttUseTls ? 'wss' : 'ws'
|
||||
const brokerUrl = `${protocol}://${mqttBrokerHost}:${mqttBrokerPort}${mqttBrokerPath}`
|
||||
const tempClient = mqtt.connect(brokerUrl)
|
||||
console.log(`MQTT Connection string ${brokerUrl}`)
|
||||
return tempClient
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user