update
This commit is contained in:
4
Makefile
4
Makefile
@@ -8,7 +8,7 @@ server:
|
||||
$(GODOT) --headless --path . -- server 8000
|
||||
|
||||
# Spiel gegen den lokalen Server. Ohne die Variable zeigt es auf
|
||||
# wss://pirate-dice.marha.de.
|
||||
# wss://dice.marha.de.
|
||||
dev:
|
||||
PIRATE_DICE_SERVER=ws://127.0.0.1:8000 $(GODOT) --path .
|
||||
|
||||
@@ -16,7 +16,7 @@ dev:
|
||||
# Auf dem Server ausführen, im Projektverzeichnis. Der Build holt Godot selbst.
|
||||
prod:
|
||||
docker compose up -d --build
|
||||
@echo "läuft: https://pirate-dice.marha.de"
|
||||
@echo "läuft: https://dice.marha.de"
|
||||
|
||||
logs:
|
||||
docker compose logs -f
|
||||
|
||||
@@ -22,7 +22,7 @@ Das Startmenü hat drei Punkte:
|
||||
|
||||
## Mehrspieler: wie es zusammenhängt
|
||||
|
||||
Die Partie läuft nicht beim Host, sondern auf `pirate-dice.marha.de`:
|
||||
Die Partie läuft nicht beim Host, sondern auf `dice.marha.de`:
|
||||
|
||||
Spieler ──wss://443──> ein Serverprozess ──> Raum MQG4 (SubViewport + World3D)
|
||||
└──> Raum 4YPV (SubViewport + World3D)
|
||||
@@ -51,7 +51,7 @@ im Leerlauf unter 1 % eines Kerns, kurze Spitzen beim Würfelwurf.
|
||||
make server # Spielserver auf :8000, trägt alle Räume
|
||||
make dev # Spiel, zeigt auf den lokalen Server
|
||||
|
||||
Ohne `PIRATE_DICE_SERVER` zeigt das Spiel auf `wss://pirate-dice.marha.de`.
|
||||
Ohne `PIRATE_DICE_SERVER` zeigt das Spiel auf `wss://dice.marha.de`.
|
||||
|
||||
## Auf dem Server
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
# Keine Portfreigabe nötig: alles läuft als WebSocket über Traefik auf 443.
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.piratedice.rule=Host(`pirate-dice.marha.de`)"
|
||||
- "traefik.http.routers.piratedice.rule=Host(`dice.marha.de`)"
|
||||
- "traefik.http.routers.piratedice.entrypoints=websecure"
|
||||
- "traefik.http.routers.piratedice.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.piratedice.loadbalancer.server.port=8000"
|
||||
|
||||
@@ -17,7 +17,7 @@ signal connection_failed(reason: String)
|
||||
signal server_closed
|
||||
|
||||
const MAX_HUMANS := 8
|
||||
const STANDARD_SERVER := "wss://pirate-dice.marha.de"
|
||||
const STANDARD_SERVER := "wss://dice.marha.de"
|
||||
## Ohne I, O, 0 und 1: die verwechselt man beim Vorlesen
|
||||
const ALPHABET := "ABCDEFGHJKLMNPQRSTUVWXYZ23456789"
|
||||
const CODE_LAENGE := 4
|
||||
|
||||
Reference in New Issue
Block a user