Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 2.18 KB

use-case.md

File metadata and controls

66 lines (44 loc) · 2.18 KB

Use case

Overview

The template-routeros-default template adds to a stack the ability to provision the RouterOS development environment with a Docker container.

Prerequisites

To use this template you need to use the CLI of StackSpot that you can download here.

  • Docker: ~20.10.8
  • Docker Compose: ~3.8

How to Use

Input parameters

The inputs parameters needed to use the template are:

Field Value Description
project_name ex.: stackspot-routeros Project name
routeros_image_version ex.: latest RouterOS Docker Image Version

Creating the project from the template

stk create app project-name -S stack-routeros/default

Execution of the created project

After creating your project, to build and run the docker containers solution, run the command below in the root of where you find the docker-compose.yml file

docker-compose -f 'docker-compose.yml' up --build

Accessing the RouterOS interface

List of exposed ports

Description Ports Mapped to
SSH 22 12222
WinBox 8291 18291

Option 1 - Accessing via winbox

Download the latest version of winbox by clicking here

After downloading Winbox, run it.

Field Example
Connect To localhost:18291
Login admin
Password In Blank

Example:

image

image

Option 2 - Running via the web interface

Then open http://localhost:8080 in your browser.

image

image