How to Install PwGen on Your UGREEN NAS

How to Install PwGen on Your UGREEN NAS

PwGen is a simple docker web application designed to generate secure passwords or passphrases with customizable options. Users can opt to generate either a random password with specific criteria or a passphrase composed of random words. It includes features for enhancing password strength, such as including uppercase letters, digits, and special characters for passwords, or capitalizing words and specifying separators for passphrases. This container does not require a persistent volume. In this step by step guide I will show you how to install PwGenĀ on yourĀ UGREEN NASĀ using Docker and Portainer.

šŸ’”Note: This guide works perfectly with the latest PwGen v1.91.0Ā release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

InstallĀ Portainer using my step by step guide. If you already have Portainer installed on your UGREEN NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 3

Log into Portainer using your username and password. On the left sidebar in Portainer, click on StacksĀ thenĀ + Add stack. Follow the instructions in the image below.

UGREEN NAS Portainer Add Stack

  • STEP 4

In the Name field type in pwgen. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

services:
   pwgen:
    image: jocxfin/pwgen:latest
    container_name: PwGen
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: ["CMD-SHELL", "nc -z 127.0.0.1 5069 || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 90s
    ports:
      - 5069:5069
    restart: on-failure:5

PwGen UGREEN NAS Set up 1

  • STEP 5

Scroll down on the page until you see a button namedĀ Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

PwGen UGREEN NAS Set up 2

  • STEP 6

If everything goes right, you will see the following message at the top right of your screen: ā€œSuccess Stack successfully deployedā€œ.

PwGen UGREEN NAS Set up 3

  • STEP 7

Go back toĀ STEP 1Ā or you will deal with karma šŸ™‚

  • STEP 8

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://ugreennas-ip-address:5069 Click Generate to generate your own Password. Follow the instructions in the image below.

PwGen UGREEN NAS Set up 4

Enjoy PwGen on your UGREEN NAS!

This post was updated on Saturday / September 28th, 2024 at 4:49 PM