welotec/smartems

By welotec

Updated 5 days ago

Welotec Smart Element Management System

Image
3

10K+

Welotec SMART EMS - Central Device Management for Welotec Devices (4G LTE Routers and Edge Gateways)

With the Welotec SMART EMS Container users benefit from a straight-forward device management system for Welotec devices like 4G LTE Routers and Edge Gateways. It enables a remote management of device configurations and firmware, deployment of zero-touch mass rollouts, and generation device diagnostics, on demand.

Learn more about our solution here: https://www.welotec.com/product/welotec-smart-ems/

The functionality of Welotec SMART EMS can be extended by our solution VPN Security Suite. This enables building secure VPN infrastructures and creation of E2E-connections with devices and machines in the field. Learn more about our solution here: https://www.welotec.com/product/welotec-vpn-security-suite/

In case of interest, please get in touch: https://www.welotec.com/contact/

System Requirements

Operating System: Docker compatible Linux-OS (e.g. Ubuntu, …) 
Software packages:docker.io docker-compose  
Processor: 64-Bit support (min. 1,8 GHz) ​ 
Memory: 4 GB RAM (8 GB recommended) ​ 
Mass Storage: 64 GB HDD (128 GB RAID1 recommended) ​ 
Network: min. 1x GBit Ethernet​ 

SMART EMS is released as docker container. System should have following application installed:

Docker Engine - minimum version 19.03.8
Installation procedures for those applications can be found at:
https://docs.docker.com/engine/install/

For easy commissioning, we recommend Docker-compose
Docker-compose - minimum version 1.25.0
https://docs.docker.com/compose/install//

How to run SMART EMS

  1. Download and install Docker Engine (see System Requirements)
  2. Download and install Docker-compose (see System Requirements)
  3. Download SMART EMS via Docker pull command
  4. Run SMART EMS with the Docker-compose
Docker-compose

To start, a Docker-Compose file (.yml) docker-compose is required. This can be started with docker-compose -f smartems-compose.yml up -d

version: "3"

networks:
  network-sma-3.3.3:
    driver: bridge

services:
  smartems:
    image: welotec/smartems:3.3.3
    container_name: smartems-3.3.3
    restart: always
    networks:
      - network-sma-3.3.3
    depends_on:
      - smadb
    ports: # CHANGE PORT MAPPINGS IF NEEDED
      - 80:80
      - 443:443
      - 18443:18443
    volumes:
      - "smartems-volume-filestorage:/var/www/application/filestorage"
      - "smartems-volume-archive:/var/www/application/archive"

    environment:
      APPLICATION_DATABASE_URL: "mysql://smartems:PASSWORD@smadb:3306/smartems?serverVersion=mariadb-10.4.26&charset=utf8mb4" # CHANGE DATABASE CONFIGURATION IF NEEDED
      APPLICATION_ENV: prod
      APPLICATION_TIMEOUT: 900 # Amount of seconds that user can be idle on WebUI before being automaticly logged out. This value has to be greater than 300 due to Authentication Token TTL
      APPLICATION_PHPFPM_pm_max_children: 5
      APPLICATION_PHP_max_file_uploads: 20
      APPLICATION_PHP_upload_max_filesize: 20M
      APPLICATION_PHP_memory_limit: 256M
      APPLICATION_PHP_post_max_size: 20M
      APPLICATION_PHP_max_input_time: 60
      APPLICATION_PHP_max_execution_time: 60
      APPLICATION_PHP_date_timezone: "Europe/Berlin" #PHP timezone in quotes
      TZ: Europe/Berlin #container timezone should be the same, but without quotes
      #Please provide uppercase firmware version separating them with spaces. Wildcard characters might be used ? - means any one character, * - means any string (at least one any character)
      #APPLICATION_UPPERCASE_FIRMWARE_VERSIONS: "1.0.0.r10406 1.0.0.r11000 1.0.0.r0* 1.0.0.r1040?"
      #Please use certbot settings to automaticaly obtain and renew certificates or provide your own files using SSL_CERTIFICATE settings. Both will result in error.
      #Please provide certificate domains coma separated e.g. "example1.com, example2.com"
      # APPLICATION_SSL_CERTIFICATE_CERTBOT_DOMAINS: ""
      # APPLICATION_SSL_CERTIFICATE_CERTBOT_EMAIL: ""
      # APPLICATION_SSL_CERTIFICATE_FILE_CHAIN: ""
      # APPLICATION_SSL_CERTIFICATE_FILE_KEY: ""

  smadb:
    image: mariadb:10.4
    container_name: smartems-db-3.3.3
    restart: always
    networks:
      - network-sma-3.3.3
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: "yes"
      MYSQL_DATABASE: "smartems"
      MYSQL_USER: "smartems"
      MYSQL_PASSWORD: "PASSWORD"
      TZ: Europe/Berlin #container timezone without quotes
    volumes:
      - "db-files-3.3.3:/var/lib/mysql"

volumes:
  # Volume for uploading files e.g. firmwares
  # Files smartems.crt and smartems.key in /var/www/smartems/filestorage (this volume),
  # will be used as SSL certificate by WEB SERVER
  smartems-volume-filestorage:
    name: smartems-volume-filestorage

  # Volume for archives (backups and restores)
  smartems-volume-archive:
    name: smartems-volume-archive

  # Volume for database files
  db-files-3.3.3:
    name: smartems-volume-db-files-3.3.3

Disclaimer

As a service provider we are responsible according to § 7 Abs.1 TMG for our own contents on these pages according to the general laws. According to §§ 8 to 10 TMG, we are not obliged to monitor transmitted or stored third-party information or to investigate circumstances that indicate illegal activity. Obligations to remove or block the use of information in accordance with general laws remain unaffected by this. However, liability in this respect is only possible from the time of knowledge of a concrete violation of the law. As soon as we become aware of such infringements, we will remove the content immediately.

Liability for links

Our offer contains links to external websites of third parties on whose contents we have no influence. Therefore, we cannot assume any liability for these external contents. The respective provider or operator of the pages is always responsible for the contents of the linked pages. The linked pages were checked for possible legal infringements at the time of linking. Illegal contents were not recognisable at the time of linking.

A permanent control of the contents of the linked pages is not reasonable without concrete evidence of an infringement. As soon as we become aware of any legal infringements, we will remove such links immediately.

Copyright

The contents and works on these pages created by the site operators are subject to German copyright law. Duplication, processing, distribution and any form of commercialization of such material beyond the scope of the copyright law shall require the prior written consent of its respective author or creator. Downloads and copies of these pages are only permitted for private, non-commercial use.

Insofar as the content on this site was not created by the operator, the copyrights of third parties are respected. In particular, contents of third parties are marked as such. Should you nevertheless become aware of a copyright infringement, please inform us accordingly. As soon as we become aware of any infringements, we will remove such content immediately.

Docker Pull Command

docker pull welotec/smartems