How to Install Chatpad AI on Your Synology NAS with Docker

Last updated on May 9th, 2023 at 10:37 am

Chatpad AI Docker is an artificial intelligence-based chat application packaged in a Docker container. This chat application uses machine learning algorithms to understand and respond to a user’s queries in a conversational manner. It’s designed to be scalable and portable, meaning you can run it on any environment supporting Docker, including local machines, cloud servers, and data centers.

The Chatpad AI Docker container contains pre-trained machine learning models that continuously learn and adapt to different types of inputs and queries from users. The application can be integrated seamlessly with various messaging platforms like Slack, Telegram, and Facebook Messenger, allowing you to build a chatbot for your business or use it for personal projects.

Code Source: Github

Skip to Docker Run Code / Skip to Compose & Portainer Code

Install Docker

Before we start, please ensure you have Docker installed. This can be installed through the Synology Package Center.

Create the Scheduled Task

We will now head into Control Panel > Task Scheduler > Create > Scheduled Task and click User-defined script. (see demonstration)

Configure the Scheduled Task

In the window that appears, insert the following:

In the General tab, In the Task field, enter chatpadai. From the User list, select root. Uncheck the Enabled option.

In the Schedule tab, Select Run on the following date (make sure It’s today’s date). Now select Do not repeat.

In the Task Settings tab, under Notification, You can choose to turn this on, otherwise skip this. Now copy-paste the following code into the Run command area. Now click OK.

docker run -d \
  --name=chatpad \
  -p 1000:80 \
  --restart unless-stopped \
  ghcr.io/deiucanta/chatpad:latest

Important: Ensure you update the code to reflect your details.

Accept the warning prompt

When the below warning appears, press OK.

Run the Scheduled Task

You will now see your list of tasks. Select chatpadai, now press Run. When asked to run, press Yes.

Create Reverse Proxy (Optional)

Head into Control Panel > Login Portal > Advanced. Click Reverse Proxy and then click Create. A dialog box will appear prompting you to edit the following settings (ensure you change the values to your own). If you do not yet have a DDNS, you can find a guide on how to do this here. Once done, press Save.

Reverse Proxy Namechatpad
ProtocolHTTPS
Hostnamechatpad.yourhostname.me (You can change actual to whatever you like)
Port443
ProtocolHTTP
Hostnamelocalhost or your Synology IP address
Port1000

Your app is now Installed

The installation process has now finished. Give it a few seconds to appear in your Docker list. Open your browser and enter the link to your new container http://synologyip:1000.

We now need to generate and store our API key for ChatpadAI to work. Click Enter OpenAI Key.

Now click Get your OpenAI API Key.

Now Log in, or Sign up.

Click Create new secret key.

You can choose to enter a Name, click Create secret key.

Copy your generated key and press Done.

Paste your key into the OpenAI API Key. Press Save

That’s you finished.

Docker Compose and Portainer

If you would prefer to install with Docker Compose or Portainer, use the following code. You can also view a demonstration here.

version: '3.3'
services:
    deiucanta:
        container_name: chatpad
        ports:
            - '1000:80'
        restart: unless-stopped
        image: 'ghcr.io/deiucanta/chatpad:latest'

More Guides:

Actual AdGuard airsonic Audiobookshelf autobrr Bitcoin Calibre-Web ChatpadAI Cleanarr Composerize Crypto DailyTxT Dashy deemix Deluge Emby EmulatorJS Ethereum Euterpe FileBot FilePizza FileZilla Flame Focalboard FreshRSS Grafana Grocy Heimdall Homarr Home Assistant Homebridge Jackett Jellyfin Jellyseerr Joplin Kavita Komga LanguageTool LibreOffice Lidarr Mealie MediaGoblin Medusa Memegen Minecraft Minecraft Bedrock MQTT MusicBrainz MyMediaForAlexa Navidrome Node-RED NZBGet NZBHydra Ombi Overseerr PaperlessNGX Pashword Password Cards Petio Pi-Hole Picard Plex Portainer PostgreSQL Prowlarr PUID & PGID pwndrop Radarr Radicale Readarr ruTorrent SABnzbd SearX Seed Phrase Shiori Sonarr SpeedTest Stash Storm Tailscale TasmoAdmin Tautulli Theia Trilium TubeSync Unpackerr Uptime Kuma Vaultwarden Watchtower WebPDF Whisparr Wordle YouTubeDL


Leave a Comment

Scroll to Top