Monica – Personal Relationship Manager

Right now’s society strikes quick. We’re consistently bombarded with information and social media posts and even with FOMO (Concern Of Lacking Out) we simply get overwhelmed with all the pieces happening in our lives and overlook vital dates and occasions.

As we exit once more and do extra on this planet, attend extra gatherings, meet new individuals, and extra issues occur in our each day lives, it is typically straightforward to overlook particulars about individuals we have simply met. meet and even about individuals we have recognized eternally.

Monica makes maintaining monitor of all of it MUCH simpler. It’s an open-source private CRM.

Monica helps you arrange the social interactions together with your family members.

Let’s examine tips on how to get a replica of Monica’s private CRM in Docker on Linode.

Necessities for Monica in Docker

To begin with, that you must arrange a Docker server. Linode has made that course of very easy and you may set one up for just some {dollars} per thirty days and add a non-public IP handle (free) and backups for just some {dollars} extra per thirty days.

One other factor you will want is a website title, which you should buy on-line nearly wherever for a variety of costs relying on the place you make your buy. Ensure that to reference the area’s DNS settings in order that it factors to Linode. Extra details about this may be discovered right here.

You may additionally wish to arrange a reverse proxy in your Docker server so you are able to do issues like route visitors and handle SSLs in your server. I made a video concerning the strategy of organising a Docker server with Portainer and a reverse proxy referred to as Nginx Proxy Supervisor which you’ll watch right here within the first weblog publish and video of this sequence

As soon as you’ve got arrange your Docker server, you can begin organising your Monica occasion on that server.

There are two major methods you are able to do this:

  • On the command line by way of SSH.
  • In Portainer by way of the Portainer dashboard.

We’ll have a look at how to do that in Portainer so we are able to have a person interface to work with.

Go to http://your-server-ip-address:9000 and login to Portainer with the credentials we arrange in our earlier publish/video.

On the left facet of the display screen, we click on on the “Stacks” hyperlink after which on the subsequent web page on the “+ Add Stack” button.

A web page seems the place you enter the title of the stack. Under you could then copy and paste the next:

---<br></br>model: "3.4"<br></br>providers:<br></br>  monica:<br></br>    picture: monica<br></br>    networks:<br></br>      - nginxproxymanager_default<br></br>    depends_on:<br></br>      - monicadb<br></br>    ports:<br></br>      - 8456:80<br></br>    surroundings:<br></br>      - APP_KEY=idYyiD2Dj3yMqoyi3EpcnHWC2GxzSAS5<br></br>      - DB_HOST=monicadb<br></br>      - DB_USERNAME=monica<br></br>      - DB_PASSWORD=b2fWAfbyQuopHH9nD738x6o9TC9S8LM6<br></br>      - APP_ENV=manufacturing<br></br>    volumes:<br></br>      - /dwelling/docker/monica/config:/var/www/html/storage<br></br>    restart: all the time<br></br><br></br>  monicadb:<br></br>    picture: mysql:5.7<br></br>    networks:<br></br>      - nginxproxymanager_default<br></br>    surroundings:<br></br>      - MYSQL_RANDOM_ROOT_PASSWORD=true<br></br>      - MYSQL_DATABASE=monica<br></br>      - MYSQL_USER=monica<br></br>      - MYSQL_PASSWORD=b2fWAfbyQuopHH9nD738x6o9TC9S8LM6<br></br>    volumes:<br></br>      - /dwelling/docker/monica/db:/var/lib/mysql<br></br>    restart: all the time<br></br>    <br></br>networks:<br></br>  nginxproxymanager_default:<br></br>    exterior: true<br></br>

This Docker composition file/stack tells the system to obtain the newest official Monica picture to the Docker server, title the container “monica”, affiliate it with the “nginxproxymanager_default” community, and add it to the “dwelling” folder /docker/monica”, and make it accessible on port 6875 of the docker server.

You’ll be able to optionally change the trail the place you wish to save the Monica information. Ensure that the folder has the proper permissions to write down to.

Make sure you change the database passwords for safety causes.

Additionally, the “APP_KEY” needs to be modified to a different lengthy random string of characters.

When you’re proud of the settings right here, we are able to deploy the container by clicking the button that claims “Deploy the Stack.”

This may begin the method of downloading and deploying Monica to your server. You may know the container has been deployed as soon as the web page reloads and also you see your whole lively containers.

Now you possibly can go to http://your-server-ip-address:8456 and it’s best to be capable to see the login display screen for Monica.

At this level you possibly can log into the positioning and get began, however we wish this to be accessible from a subdomain, so let’s handle that for now.

Arrange a website and SSL

Return to your Linode dashboard and go to “Domains”. Then discover the area you added to your account. Click on on it after which search for the CNAME part of the area administration.

Add a CNAME to your area by coming into a hostname for what you need your subdomain to be. Within the pattern video, I entered “monica” (with out the quotes). Under that, I typed the @ image within the “Alias ​​to” field, then clicked “Save.”

Now that you have performed that, we are able to go to Nginx Proxy Supervisor and arrange our SSL and area.

Now you possibly can go to http://your-server-ip-address:81 and it’s best to be capable to see the login display screen for Nginx Proxy Supervisor.

The default credentials for Nginx Proxy Supervisor are:

E mail: [email protected]
Password: changeme

Enter these credentials (or yours for those who up to date them) to login to your Nginx Proxy Supervisor occasion.

Click on the tab on the prime of the web page that claims “SSL Certificates,” then click on the “Add SSL Certificates” button on the prime proper of the web page.

Then click on on the “Let’s Encrypt” possibility.

Within the pop-up window that seems, enter the total URL of the area you wish to safe and press the “Enter” key in your keyboard.

On this instance, you’d enter https://monica.yourdomain.com.

After coming into your URL, click on the “Check Server Reachability” button instantly beneath it. If you happen to get an error, appropriate the issue and check out once more. If no errors are returned, confirm that the e-mail handle on the web page is appropriate, then learn the Let’s Encrypt phrases of service and click on the “Save” button.

It could take a minute or two for the system to generate and set up the important thing, however as soon as it is performed, the web page will reload and you’ll see all accessible SSLs in Nginx Proxy Supervisor.

Now that we have arrange our SSL on our system, we are able to click on on the ‘Hosts’ tab on the prime of the web page. Then click on on the “Proxy Hosts” possibility that seems within the submenu.

Discover the ‘Add Proxy Host’ button on the prime proper of the web page and click on it.

A brand new window will seem and we’ll fill in some choices to configure our area.

Enter the area or subdomain for which you simply created the SSL.

Depart the schema as HTTP.

Enter the IP handle of your container. This may be present in Portainer:

Enter the container port within the “Ahead Port” textual content field. On this case, it is 80. The 8456 we see within the “Revealed ports” part of the picture above is what we’ll name the Docker port. We would like the port on the container facet, so we use the quantity to the precise of the semicolon.

Click on the choices for ‘Cache Property’, ‘Block Frequent Exploits’ and ‘Websocket Help’.

Now click on on the “SSL” tab on the prime of the pop-up window.

You will notice a drop-down that claims “SSL Certificates” and underneath it “None”.

Click on on “None” after which choose the SSL you created within the earlier steps.

Now test the 4 choices listed beneath, learn and conform to the Let’s Encrypt TOS after which click on Save.

After a second, the web page will reload and it’s best to see your new entry on the Proxy Hosts web page of Nginx Proxy Supervisor.

First login

Now you possibly can go to your new URL in your browser.

You may be taken to a login web page that appears like this:

Fill within the registration kind together with your particulars, test the field concerning the Phrases of Service and click on the “Register” button.

As soon as you might be logged in, you can begin creating or importing your contacts. Earlier than you try this, although, you will have to go to the settings icon (the gear) within the prime proper and alter the settings to fit your wants. Pay particular consideration to the “Personalization” tab on the left facet of the display screen so that you’ve got the information fields to your configuration which are precisely what you want.

You’ll be able to all the time come again and alter/replace them later if that you must, so you do not have to fret about getting all the pieces proper the primary time you log in.

Begin including contacts

Now that you’ve got your Monica occasion up and working, you possibly can higher monitor your each day interactions, relationships, and extra. You by no means know who you will impress by commemorating an anniversary, birthday or different particular occasion!

Alternatively, you possibly can attempt cloud-based CRM for those who’re not prepared to put in and handle one your self or for those who want extra options.

Rate this post
Leave a Comment