Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
infra:workadventure:start [2021/05/28 09:22] – ↷ Seite von infra:workadventure nach infra:workadventure:start verschoben und umbenannt noby | infra:workadventure:start [2021/05/28 19:53] (aktuell) – noby | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Workadventure ====== | ====== Workadventure ====== | ||
+ | |||
+ | ===== Maps Howto ===== | ||
+ | |||
+ | Eine Anleitung zum Erstellen von Maps ist [[infra: | ||
===== Aktuelles Setup ===== | ===== Aktuelles Setup ===== | ||
Zeile 89: | Zeile 93: | ||
Hier kann entweder direkt ein Zertifikat angegeben werden oder einfach eines via Letsencrypt bezogen werden. | Hier kann entweder direkt ein Zertifikat angegeben werden oder einfach eines via Letsencrypt bezogen werden. | ||
- | Die Datei '' | + | Die '' |
- | < | + | |
- | version: " | + | |
- | services: | + | |
- | # the frontend is only built here - it is served directly via nginx | + | |
- | front: | + | |
- | image: thecodingmachine/ | + | |
- | environment: | + | |
- | DEBUG_MODE: " | + | |
- | JITSI_URL: " | + | |
- | JITSI_PRIVATE_MODE: | + | |
- | NODE_ENV: development | + | |
- | API_URL: " | + | |
- | UPLOADER_URL: | + | |
- | STARTUP_COMMAND_1: | + | |
- | STARTUP_COMMAND_2: | + | |
- | STUN_SERVER: | + | |
- | TURN_SERVER: | + | |
- | # Use TURN_USER/ | + | |
- | # Advice: you should instead use Coturn REST API along the TURN_STATIC_AUTH_SECRET in the Back container | + | |
- | TURN_USER: workadventure | + | |
- | TURN_PASSWORD: | + | |
- | START_ROOM_URL: | + | |
- | command: yarn run build | + | |
- | volumes: | + | |
- | - ./ | + | |
- | pusher: | + | |
- | image: thecodingmachine/ | + | |
- | environment: | + | |
- | DEBUG: " | + | |
- | STARTUP_COMMAND_1: | + | |
- | SECRET_JITSI_KEY: | + | |
- | SECRET_KEY: yourSecretKey | + | |
- | ADMIN_API_TOKEN: | + | |
- | API_URL: back: | + | |
- | JITSI_URL: " | + | |
- | JITSI_ISS: " | + | |
- | command: yarn run prod | + | |
- | ports: | + | |
- | - " | + | |
- | volumes: | + | |
- | - ./ | + | |
- | back: | + | |
- | image: thecodingmachine/ | + | |
- | environment: | + | |
- | DEBUG: " | + | |
- | STARTUP_COMMAND_1: | + | |
- | SECRET_KEY: yourSecretKey | + | |
- | SECRET_JITSI_KEY: | + | |
- | ALLOW_ARTILLERY: | + | |
- | ADMIN_API_TOKEN: | + | |
- | JITSI_URL: " | + | |
- | JITSI_ISS: " | + | |
- | command: yarn run prod | + | |
- | volumes: | + | |
- | - ./ | + | |
- | uploader: | + | |
- | image: thecodingmachine/ | + | |
- | environment: | + | |
- | DEBUG: " | + | |
- | STARTUP_COMMAND_1: | + | |
- | command: yarn run prod | + | |
- | ports: | + | |
- | - " | + | |
- | volumes: | + | |
- | - ./ | + | |
- | messages: | + | |
- | #image: thecodingmachine/ | + | |
- | image: thecodingmachine/ | + | |
- | environment: | + | |
- | # | + | |
- | STARTUP_COMMAND_1: | + | |
- | STARTUP_COMMAND_2: | + | |
- | volumes: | + | |
- | - ./ | + | |
- | - ./ | + | |
- | - ./ | + | |
- | - ./ | + | |
- | </ | + | |
- | + | ||
- | Die '' | + | |
<file bash> | <file bash> | ||
DEBUG_MODE=false | DEBUG_MODE=false | ||
Zeile 184: | Zeile 108: | ||
# Keep empty if you are sharing hard coded / clear text credentials. | # Keep empty if you are sharing hard coded / clear text credentials. | ||
TURN_STATIC_AUTH_SECRET= | TURN_STATIC_AUTH_SECRET= | ||
+ | DISABLE_NOTIFICATIONS=false | ||
+ | SKIP_RENDER_OPTIMIZATIONS=true | ||
# The email address used by Let's encrypt to send renewal warnings (compulsory) | # The email address used by Let's encrypt to send renewal warnings (compulsory) | ||
ACME_EMAIL= | ACME_EMAIL= | ||
+ | MAX_PER_GROUP=4 | ||
+ | MAX_USERNAME_LENGTH=8 | ||
+ | |||
+ | # Set to true to allow using this instance as a target for the apiUrl property | ||
+ | FEDERATE_PUSHER=true | ||
</ | </ | ||
Zeile 192: | Zeile 123: | ||
< | < | ||
$ su – workadventure | $ su – workadventure | ||
- | $ docker-compose -f docker-compose.mm.yml up –d | + | $ docker-compose -f docker-compose.bk.yml up –d |
</ | </ | ||
Zusätzlich zu dem workadventure Server benötigt man aber ggf. auch noch eine Jitsi Instanz wenn man mit mehr als 4 Personen gleichzeitig sprechen will (Diese wird bei uns z.B. bei den Tischen geöffnet) | Zusätzlich zu dem workadventure Server benötigt man aber ggf. auch noch eine Jitsi Instanz wenn man mit mehr als 4 Personen gleichzeitig sprechen will (Diese wird bei uns z.B. bei den Tischen geöffnet) | ||