https://github.com/jaskaranbir/lora-server-docker
https://github.com/jaskaranbir/lora-server-docker
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jaskaranbir/lora-server-docker
- Owner: Jaskaranbir
- Created: 2018-05-18T17:16:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-28T16:13:11.000Z (almost 7 years ago)
- Last Synced: 2025-02-05T19:06:56.394Z (3 months ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LoRa server docker/vagrant setup
### Basic LoRa server setup based on original [LoRa Docker-Setup][1].
### Running the server:
The environment is orchestrated using Vagrant/Docker for automated setup.
**On Windows**
* Since Docker config used is based on linux containers, windows users will have to run it inside a VM. So, download and install [Vagrant][2] and [Virtualbox][3].
* Go to project directory and run `vagrant up` in terminal. Initial start will take sometime, but proceeding starts will be relatively quicker. Additionally, by default, Docker containers are rebuilt at every boot. To change this setting, go to [Vagrantfile][4] and commend-out indicated lines in *docker-compose provision* block.
* This will setup Vagrant and docker containers and deploy application on address `https://localhost:` (where `` corresponds to a valid open port chosen by Vagrant).
* *You will get the exact web-address which you can enter in your browser to access app-server UI (once the script finishes successfully)*.
* If for some reason, docker containers do not build, you can ssh into VM using `vagrant ssh` and then use the command `docker rm $(docker ps -aq) && docker-compose up -d` to try building again.
**On Linux**
**NOTE**: You can also setup Vagrant in Linux and use the same procedure as provided for Windows. Otherwise, below is how to setup without using Vagrant.
* Download and install docker and docker-compose.
* Go to project directory and run `docker-compose up -d`.
* Ensure port `8080` is free or the containers won't run (unless configured to specifically use another port). Application will be deployed on address `https://localhost:8080`.
### App-Server credentials:
Default credentials for the App-Server are:
Username: `admin`
Password: `admin`[![App-Server Dashboard UI][5]][5]
[1]: https://github.com/brocaar/loraserver-docker
[2]: https://www.vagrantup.com/
[3]: https://www.virtualbox.org/
[4]: https://github.com/Jaskaranbir/lora-server-docker/blob/master/Vagrantfile
[5]: https://i.imgur.com/faa7nDP.png