Docker Installation and update

Modified on Fri, 15 Nov at 1:08 PM

Prerequisities

  • Docker Engine 24.0 or later.

Installation


1) Import docker image to local docker storage.


docker load < newired-portal-24.0.0.tar
docker load < newired-minio-24.0.0.tar
docker load < newired-database-24.0.0.tar


2) Copy your license file (newired.license) into the same folder as docker-compose.yml.


3) Edit docker-compose.yml file.

  • Set public domain name env variable NEWIRED_DOMAIN (only for internal application settings)
  • Set admin password
  • Set SMTP config
  • Next steps depend on license type.
    • If your license is based on MAC address
      • Set MAC address from file newired.license

        portal:
          
        networks:
            
        nw_network:
              mac_address: AA:BB:CC:DD:EE:11


    • If it's based on fingerprint
      • Comment out the MAC address property

        portal:
          
        networks:
            nw_network:

              # mac_address: xx:xx:xx:xx:xx:xx

      • Set SSH connection properties to environment variables. Best is to use dedicated account.

        environment:
          
        - HOST_SSH_PORT=<port>
          - HOST_SSH_USER=<user name>
          - HOST_SSH_PASSWORD=<password>


4) Run application.


docker-compose up -d


5) Open browser with address `http://localhost:8090` or `https://localhost:8443`


Note: It is only a self sign certificate for https (We recommend using a reverse proxy)


Update to new version

1) Shut down application.

docker-compose down


2) Import docker image to local docker storage.


docker load < newired-portal-24.0.0.tar
docker load < newired-minio-24.0.0.tar
docker load < newired-database-24.0.0.tar

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article