Install Maybe Finance for Financial Recording in NAT VPS


Natvps.idPossible is a personal financial application that is self-hosted. Possible Can be used to carry out financial recording, such as transactions, history of money incoming and exit, and so forth.

This article Discusses Install Steps Possible In NAT VPS using a docker, along with the Nginx configuration for Reverse-Proxy. This article uses Ubuntu 22.04 as a reference, but you can use other distributions such as Debian and Centos. Make sure the OS used supports the docker.

Port forwarding configuration

Considering we use grout, we need to add 2 Port Forwarding Configuration on the virtualizor panel (or other VPS panels according to the provider), namely Port Forwarding HTTP and HTTPS For possible domains.

For example, in this article will use a domain finance.tutorial.mdinata.my.id To access Maybe. You are free to change the domain according to your choice. Record this port and domain, because we will use it again in the install process.

Don’t forget to add DNS Records to go to your NAT VPS public IP, like this:

Install Docker

We will use a docker and compile a docker for spread Possible.

First, install curly Using Orders:

apt update && apt install curl -y

Then, run manuscript Automatic installation from the docker by entering:

curl -fsSL get.docker.com | sh

Wait until the installation process is complete.

Install possible

To install Maybe, we can use the docker configuration example from its official repository, so we don’t need to create a configuration file from the start.

First, create a new directory for Maybe.

mkdir maybe
cd maybe/

Download the compose docker configuration using the following command:

curl -o compose.yml 

Please change the configuration as you wish, such as the Key Openai API to access the AI ​​feature on Maybe. However, you can also immediately run Maybe without the need to change anything.

Run maybe with:

docker compose up -d

Wait until the process spread finished. Deploy can first take a few minutes because it has to download all picture Maybe from the start.

Nginx Configuration (Reverse Proxy)

So that we can access the URL through a domain like finance.tutorial.mdinata.my.idwe can use Reverse Proxy Like Nginx.

First, install Nginx through the command:

# Hapus Apache2 dan pendukungnya (biasanya terpasang secara bawaan di VPS OpenVZ)
apt purge apache2* -y

# Install NGINX
apt install nginx -y

Create a new host configuration specifically for maybe:

nano /etc/nginx/sites-available/maybe

Then stick the following configuration:

# 

server {
    listen 80;
    listen [::]:80;
    server_name finance.tutorial.mdinata.my.id;

    location / {
        proxy_pass         
        proxy_http_version 1.1;
        proxy_set_header   Upgrade $http_upgrade;
        proxy_set_header   Connection 'upgrade';
        proxy_set_header   Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_cache_bypass $http_upgrade;
    }
}

Adjust finance.tutorial.mdinata.my.id with your domain.

Activate the configuration with:

ln -sf /etc/nginx/sites-available/glance /etc/nginx/sites-enabled/glance

# Restart NGINX
systemctl restart nginx

Produce SSL certificate (let’s encryption)

So that our domain can be accessed through HTTPS, we need to make a SSL certificate. We can use a free SSL certificate from Let’s Encrypt through Certbot.

Install Certbot and Nginx plugin use the command:

apt install python3-certbot python3-certbot-nginx

So, produce Certificate through Certbot with the command

certbot --nginx -d finance.tutorial.mdinata.my.id

Change finance.tutorial.mdinata.my.id with your domain.

Happy! Your current domain can be accessed via a safe connection https.

Access the Maybe dashboard

Glance can be accessed through your previous domain. Example: https://finance.tutorial.mdinata.my.id.

Cover

Thus this article is about the steps to install Maybe Finance on NAT VPS. If you are confused or doubtful, don’t hesitate to ask questions in the telegram group @ipv6indonesia. Thank You!


News
Berita
News Flash
Blog
Technology
Sports
Sport
Football
Tips
Finance
Berita Terkini
Berita Terbaru
Berita Kekinian
News
Berita Terkini
Olahraga
Pasang Internet Myrepublic
Jasa Import China
Jasa Import Door to Door