GithubHelp home page GithubHelp logo

ansible-workadventure's Introduction

automated setup from blank debian to a basically usable workadventure instance

Pretext

This Repository tries to be a help in your quest in deploying your very own WorkAdventure-Instance. On the other hand, it won't help you in designing your own maps.

Let's assume, you have the cheapest VPS Instance from Hetzner.

Problems solved by the Ansible Roles

Preparation

You can then use the user-data functionality of Cloud-Init as a Kickstarter for your server.

This prepares you to have a basically working server to which you can logon via ssh with your private key. After that you can use git to pull this repository and install Ansible.

Then you should create a Vault-File for Ansible and name it "vars.vault.yml". An example is provided in "vault-template.yml".

After you filled in the Vault-File, fill in your specific data inside the deployment.yml.

workadventure_domain: "workadventure.<domain>"
workadventure_start_room: "/_/global/raw.githubusercontent.com/raumzeitlabor/rc3-map-lounge/main/main.json"
jitsi_url: "<jitsii-server>"

Execution

Execute Ansible:

ansible-playbook deployment.yml -e @vars.vault.yml --ask-vault-pass

Reboot is necessary

Setup DNS:

This depends on your Domain Provider but the Following should help you:

workadventure 600 IN A <ip>
api.workadventure 600 IN A <ip>
back.workadventure 600 IN A <ip>
maps.workadventure 600 IN A <ip>
play.workadventure 600 IN A <ip>
pusher.workadventure 600 IN A <ip>
uploader.workadventure 600 IN A <ip>

Start Workadventure

cd /opt/workadventure/contrib/docker
docker-compose up -d

access https://play.workadventure.<domain> in your Browser

ToDos for this Repo:

  • provide more content for fail2ban
  • improve UFW config

ansible-workadventure's People

Contributors

devnope avatar copykatze avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.