Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c43af50c0 |
@@ -8,8 +8,4 @@
|
||||
# > Passwrord: appkey
|
||||
# [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
|
||||
docker push git.nerdyssey.de/exodus/burg-stett-king-arth-web:latest
|
||||
@@ -1,46 +0,0 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
gitea-server:
|
||||
image: gitea/gitea:latest
|
||||
container_name: gitea
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
# Database connection
|
||||
- GITEA__database__DB_TYPE=postgres
|
||||
- GITEA__database__HOST=gitea-db:5432
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=gitea
|
||||
- GITEA__database__PASSWD=###SomePassword###
|
||||
# Web / Domain settings
|
||||
- GITEA__server__DOMAIN=git.nerdyssey.de
|
||||
- GITEA__server__ROOT_URL=https://git.nerdyssey.de/
|
||||
- GITEA__server__SSH_DOMAIN=git.nerdyssey.de
|
||||
- GITEA__server__SSH_PORT=2222
|
||||
# Security
|
||||
- GITEA__service__DISABLE_REGISTRATION=true
|
||||
- GITEA__service__REQUIRE_SIGNIN_VIEW=false
|
||||
volumes:
|
||||
- ./data:/data
|
||||
ports:
|
||||
- "2222:22" # This allows Git over SSH
|
||||
depends_on:
|
||||
- gitea-db
|
||||
|
||||
gitea-db:
|
||||
image: postgres:15-alpine
|
||||
container_name: gitea-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_USER=gitea
|
||||
- POSTGRES_PASSWORD=###SomePassword###
|
||||
- POSTGRES_DB=gitea
|
||||
volumes:
|
||||
- ./postgres:/var/lib/postgresql/data
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: proxy_net
|
||||
external: true
|
||||
@@ -1,18 +0,0 @@
|
||||
services:
|
||||
mosquitto:
|
||||
image: eclipse-mosquitto:latest
|
||||
container_name: mosquitto
|
||||
restart: unless-stopped
|
||||
# Power are managed via private subnet "proxy_net"
|
||||
# ports:
|
||||
# - "1883:1883"
|
||||
# - "9001:9001"
|
||||
volumes:
|
||||
- ./config:/mosquitto/config
|
||||
- ./data:/mosquitto/data
|
||||
- ./log:/mosquitto/log
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: proxy_net
|
||||
external: true
|
||||
@@ -1,20 +0,0 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
nginx-proxy-manager:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
container_name: nginx-proxy-manager
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '80:80' # Public HTTP Port (Required for Certbot challenges)
|
||||
- '443:443' # Public HTTPS Port
|
||||
- '81:81' # Admin Web Dashboard
|
||||
- '8883:8883' # Added for Secure MQTT (MQTTS)
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./letsencrypt:/etc/letsencrypt
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: proxy_net
|
||||
external: true
|
||||
@@ -1,17 +0,0 @@
|
||||
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,8 +5,6 @@ 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 = 'mqtt.nerdyssey.de'
|
||||
const mqttBrokerPort = 443 // 9001 if not secure
|
||||
const mqttBrokerHost = '91.99.29.8'
|
||||
const mqttBrokerPort = 9001
|
||||
const mqttBrokerPath = '/mqtt'
|
||||
const mqttUseTls = true
|
||||
const mqttUseTls = false
|
||||
const mqttTopicRoot = 'outdoor/king-arthur/sword/'
|
||||
const mqttMessage = 'start-hit'
|
||||
|
||||
@@ -13,7 +13,6 @@ 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