infra:workadventure:start

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
infra:workadventure:start [2021/05/28 11:13] nobyinfra:workadventure:start [2021/05/28 19:53] (aktuell) noby
Zeile 93: 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 ''docker-compose.mm.yml'' (folgend) befindet sich im ''source'' Verzeichnis.  +Die ''.env'' Datei (muss angepasst werden) liegt im ''source'' Verzeichnis:
-<file> +
-version: "3" +
-services: +
-  # the frontend is only built here - it is served directly via nginx +
-  front: +
-    image: thecodingmachine/nodejs:14 +
-    environment: +
-      DEBUG_MODE: "$DEBUG_MODE" +
-      JITSI_URL: "$JITSI_URL" +
-      JITSI_PRIVATE_MODE: "$JITSI_PRIVATE_MODE" +
-      NODE_ENV: development +
-      API_URL: "pusher.$DOMAIN" +
-      UPLOADER_URL: "uploader.$DOMAIN" +
-      STARTUP_COMMAND_1: ./templater.sh +
-      STARTUP_COMMAND_2: yarn install +
-      STUN_SERVER: "stun:stun.l.google.com:19302" +
-      TURN_SERVER: "turn:coturn.workadventu.re:443,turns:coturn.workadventu.re:443" +
-      # Use TURN_USER/TURN_PASSWORD if your Coturn server is secured via hard coded credentials. +
-      # Advice: you should instead use Coturn REST API along the TURN_STATIC_AUTH_SECRET in the Back container +
-      TURN_USER: workadventure +
-      TURN_PASSWORD: WorkAdventure123 +
-      START_ROOM_URL: "$START_ROOM_URL" +
-    command: yarn run build +
-    volumes: +
-      - ./front:/usr/src/app +
-  pusher: +
-    image: thecodingmachine/nodejs:12 +
-    environment: +
-      DEBUG: "*" +
-      STARTUP_COMMAND_1: yarn install +
-      SECRET_JITSI_KEY: "$SECRET_JITSI_KEY" +
-      SECRET_KEY: yourSecretKey +
-      ADMIN_API_TOKEN: "$ADMIN_API_TOKEN" +
-      API_URL: back:50051 +
-      JITSI_URL: "$JITSI_URL" +
-      JITSI_ISS: "$JITSI_ISS" +
-    command: yarn run prod +
-    ports: +
-      - "127.0.0.1:8002:8080" +
-    volumes: +
-      - ./pusher:/usr/src/app +
-  back: +
-    image: thecodingmachine/nodejs:12 +
-    environment: +
-      DEBUG: "*" +
-      STARTUP_COMMAND_1: yarn install +
-      SECRET_KEY: yourSecretKey +
-      SECRET_JITSI_KEY: "$SECRET_JITSI_KEY" +
-      ALLOW_ARTILLERY: "true" +
-      ADMIN_API_TOKEN: "$ADMIN_API_TOKEN" +
-      JITSI_URL: "$JITSI_URL" +
-      JITSI_ISS: "$JITSI_ISS" +
-    command: yarn run prod +
-    volumes: +
-      - ./back:/usr/src/app +
-  uploader: +
-    image: thecodingmachine/nodejs:12 +
-    environment: +
-      DEBUG: "*" +
-      STARTUP_COMMAND_1: yarn install +
-    command: yarn run prod +
-    ports: +
-      - "127.0.0.1:8005:8080" +
-    volumes: +
-      - ./uploader:/usr/src/app +
-  messages: +
-    #image: thecodingmachine/nodejs:14 +
-    image: thecodingmachine/workadventure-back-base:latest +
-    environment: +
-      #STARTUP_COMMAND_0: sudo apt-get install -y inotify-tools +
-      STARTUP_COMMAND_1: yarn install +
-      STARTUP_COMMAND_2: yarn run proto:watch +
-    volumes: +
-      - ./messages:/usr/src/app +
-      - ./back:/usr/src/back +
-      - ./front:/usr/src/front +
-      - ./pusher:/usr/src/pusher +
-</file> +
- +
-Die ''.env'' Datei (muss angepasst werden) liegt dann ebenfalls im ''source'' Verzeichnis:+
 <file bash> <file bash>
 DEBUG_MODE=false DEBUG_MODE=false
Zeile 188: 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
 </file> </file>
  
Zeile 196: Zeile 123:
 <code> <code>
 $ su – workadventure $ su – workadventure
-$ docker-compose -f docker-compose.mm.yml up –d+$ docker-compose -f docker-compose.bk.yml up –d
 </code> </code>
  
 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)
  
  • infra/workadventure/start.1622200383.txt.gz
  • Zuletzt geändert: 2021/05/28 11:13
  • von noby