Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Question about docker installation

Featured Replies

sent a combined config file that added the other preq redis / postgress

 

  • Replies 63
  • Views 26.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Braulio Dias Ribeiro
    Braulio Dias Ribeiro

    Great information... I used https://www.decomposerize.com/ to generate a docker run.   I didn't quite understand it because it didn't generate the command: command: worker --concurrency=10

  • Braulio Dias Ribeiro
    Braulio Dias Ribeiro

    Wow... awesome, a lesson on Unraid and Linux. I'm going to understand all of this better and try to apply it... thanks for the information and your time.

  • @Braulio Dias Ribeiro actually you don't need the SWAP plugin and you can ignore this Warning since it's just a warning. Unraid has no SWAP and therefore this message is put out, nothing to worry abou

Posted Images

  • Author
On 2/23/2025 at 10:36 PM, Braulio Dias Ribeiro said:

Chatwoot App

version: "3.8"

#sh
# bundle exec rails db:chatwoot_prepare

services:
  chatwoot_admin:
    image: chatwoot/chatwoot:v4.0.1-ce
    hostname: "{{.Service.Name}}.{{.Task.Slot}}"
    command: bundle exec rails s -p 3000 -b 0.0.0.0
    entrypoint: docker/entrypoints/rails.sh
    ports:
      - "4040:4040"
    volumes:
      - chatwoot_data:/app/storage
      - chatwoot_public:/app
    networks:
      - own-network
    environment:
      - CHATWOOT_HUB_URL=https://chatwoot.domain.com
      - INSTALLATION_NAME=Chatwoot
      - NODE_ENV=production
      - RAILS_ENV=production
      - INSTALLATION_ENV=docker
      - SECRET_KEY_BASE=generate
      - FRONTEND_URL=https://chatwoot.domain.com
      - DEFAULT_LOCALE=pt_BR
      - FORCE_SSL=true
      - ENABLE_ACCOUNT_SIGNUP=false
      - REDIS_URL=redis://user:pass@redis:6379/2
      - DATABASE_URL=postgresql://user:pass@postgrespgvector:5432/chatwoot
      - ACTIVE_STORAGE_SERVICE=local
      - RAILS_LOG_TO_STDOUT=true
      - USE_INBOX_AVATAR_FOR_BOT=true
      - SIDEKIQ_CONCURRENCY=10
      - RACK_TIMEOUT_SERVICE_TIMEOUT=0
      - RAILS_MAX_THREADS=5
      - WEB_CONCURRENCY=2
      - ENABLE_RACK_ATTACK=false
      - WEBHOOKS_TRIGGER_TIMEOUT=40
      - MAILER_SENDER_EMAIL=Chatwoot <mail@gmail.com>
      - SMTP_DOMAIN=gmail.com
      - SMTP_ADDRESS=smtp.gmail.com
      - SMTP_PORT=587
      - [email protected]
      - SMTP_PASSWORD=generate
      - SMTP_AUTHENTICATION=login
      - SMTP_ENABLE_STARTTLS_AUTO=true
      - SMTP_OPENSSL_VERIFY_MODE=peer
      - [email protected]
    deploy:
      mode: replicated
      replicas: 1
      placement:
        constraints:
          - node.role == manager
      resources:
        limits:
          cpus: "1"
          memory: 1024M
volumes:
  chatwoot_data:
    external: true
    name: chatwoot_data
  chatwoot_public:
    external: true
    name: chatwoot_public
networks:
  own-network:
    external: true
    name: own-network


Chatwoot Worker
 

version: "3.8"
services:
  chatwoot_sidekiq:
    image: chatwoot/chatwoot:v4.0.1-ce
    hostname: "{{.Service.Name}}.{{.Task.Slot}}"
    command: bundle exec sidekiq -C config/sidekiq.yml
    volumes:
      - chatwoot_data:/app/storage
      - chatwoot_public:/app
    networks:
      - own-network
    environment:
      - CHATWOOT_HUB_URL=https://chatwoot.domain.com
      - INSTALLATION_NAME=Chatwoot
      - NODE_ENV=production
      - RAILS_ENV=production
      - INSTALLATION_ENV=docker
      - SECRET_KEY_BASE=generate
      - FRONTEND_URL=https://chatwoot.domain.com
      - DEFAULT_LOCALE=pt_BR
      - FORCE_SSL=true
      - ENABLE_ACCOUNT_SIGNUP=false
      - REDIS_URL=redis://user:pass@redis:6379/2
      - DATABASE_URL=postgresql://user:pass@postgrespgvector:5432/chatwoot
      - ACTIVE_STORAGE_SERVICE=local
      - RAILS_LOG_TO_STDOUT=true
      - USE_INBOX_AVATAR_FOR_BOT=true
      - SIDEKIQ_CONCURRENCY=10
      - RACK_TIMEOUT_SERVICE_TIMEOUT=0
      - RAILS_MAX_THREADS=5
      - WEB_CONCURRENCY=2
      - ENABLE_RACK_ATTACK=false
      - WEBHOOKS_TRIGGER_TIMEOUT=40
      - MAILER_SENDER_EMAIL=Chatwoot <mail@gmail.com>
      - SMTP_DOMAIN=gmail.com
      - SMTP_ADDRESS=smtp.gmail.com
      - SMTP_PORT=587
      - [email protected]
      - SMTP_PASSWORD=generate
      - SMTP_AUTHENTICATION=login
      - SMTP_ENABLE_STARTTLS_AUTO=true
      - SMTP_OPENSSL_VERIFY_MODE=peer
      - [email protected]
    deploy:
      mode: replicated
      replicas: 1
      placement:
        constraints:
          - node.role == manager
      resources:
        limits:
          cpus: "1"
          memory: 1024M
volumes:
  chatwoot_data:
    external: true
    name: chatwoot_data
  chatwoot_public:
    external: true
    name: chatwoot_public
networks:
  own-network:
    external: true
    name: own-network

@bmartino1


Do you think it is possible to build an Unraid template for this docker?

 

6 hours ago, Braulio Dias Ribeiro said:

 

yes, I will work on this in my spare time today and poke around. If you wish to make a github account and maintain/self host it, we can latter PM squid and add the completed data to Unraid CA -- AFTER BUILDING AND TESTING.
 

I'm reluctant too, as chatwoot depends on and requires other dockers per previous posts to fix the GitHub dev compose file, and that a .env file may need / readvised as docker template options... As I'm missing to much to understanding what a correct and working instance of n8n and/or chatwoot does. There is to much to maintain and add this to my gihub to CA myself...
 

per github:

https://raw.githubusercontent.com/chatwoot/chatwoot/refs/heads/develop/docker-compose.yaml
https://github.com/chatwoot/chatwoot/blob/develop/.env.example 


Reviewing there volumes once more. as this is muti-docker...


volumes:
  postgres: -Means DB postgres needs to be installed and variables in the template
  redis: -Means DB Redis needs to be installed and variables in the template
  packs: ? apart of chatwoot? n8n ?
  node_modules: ? apart of chatwoot? n8n ?
  cache: ? apart of chatwoot? n8n ?
  bundle: ? apart of chatwoot? n8n ?


However, I have no problem making a xml template for the above compose files. Just note, that without the xml on unraid CA, it will be hard to import the xml template and use. Meaning, its would be better for you to go to add new container and fill all the data in to make the template.

Small Rant:
--I've asked and explained this feature request before on another post in the feature request forum. Usefull from template authoring, and including seeing if squid would allow/update the CA app so once can just download templates from CA and not install the docker app.

As I've found that coping them into the user folder on the flash drive may or may not read, pickup and cause breaking edits when trying to implement a xml docker template shared this way...

 

root@Docker:/boot/config/plugins/dockerMan# ls
buildx/  config.json  template-repos  templates/  templates-user/
root@Docker:/boot/config/plugins/dockerMan#

root@Docker:/boot/config/plugins/dockerMan/templates-user# ls
my-ClamAV-clamdscan.xml  my-PostgreSQL_Immich.xml   my-binhex-minidlna.xml.bak  my-netprobe-Grafana.xml  my-shinobi-pro-cctv.xml.bak
my-ClamAV.xml.bak        my-Redis_Immich.xml        my-immich.xml               my-nextcloud.xml.bak     my-trex-miner.xml.bak
my-LocalAI.xml           my-RejettoHFS3.xml         my-mariadb.xml.bak          my-plex.xml              my-tvheadend.xml
my-MakeMKV-Ripper.xml    my-Twingate-Connector.xml  my-mediagoblin.xml.bak      my-sftp.xml              my-vm_custom_icons.xml.bak
my-Pihole-DoT-DoH.xml    my-Virt-Manager.xml.bak    my-minidlna.xml.bak         my-sftp.xml.bak
root@Docker:/boot/config/plugins/dockerMan/templates-user# 


as there are weird permission on this folder and files and weird syntax to allow unraid to read coped xml codes to test and make dockers.  It appears that xml docker templates form CA get stored here on the flash drive

/boot/config/plugins/dockerMan/templates-user


if you understand that, enable docker setting template authoring and are willing to also make the template based on a xml file. I have no problem making 2 xml files form the above compose files...

So I would advise running chatwoot as a compose file as it is muti-docker...

@Braulio Dias RibeiroThis is the only thread in the entire forum that mentions supabase/postgres. Did you ever get it installed in unraid? I can't figure it out.

 

I can't even get it to download. It simply errors when trying. I've been able to install other Docker Hub images, so it isn't a dns or other network issue. Thanks for any advice!

 

https://hub.docker.com/r/supabase/postgres/

Edited by GollyJer

15 hours ago, GollyJer said:

@Braulio Dias RibeiroThis is the only thread in the entire forum that mentions supabase/postgres. Did you ever get it installed in unraid? I can't figure it out.

 

I can't even get it to download. It simply errors when trying. I've been able to install other Docker Hub images, so it isn't a dns or other network issue. Thanks for any advice!

 

https://hub.docker.com/r/supabase/postgres/


You most likely have a misconfiguration... if the arrow is red in the stack with compose, there is something broken either in the env file or the compose file... If you can't get it to download, you may need to invoke docker login and Double check dns. There are 3 layers... Host, dns, docker network dns, container dns... if something not downloading dns is broken at 1 or more of these layers...

n8n compose file:


chatwoot pulled from there github...

I would recommend starting from the first post and reviewing the entire post...

regarding databases. they may require setting environment passwords and maintain that same password across the comose, env file and database docker...

Revisit the github page on more info regarding supabase postgress:

https://github.com/supabase/postgres

https://github.com/supabase/postgres-meta

https://github.com/supabase/supabase

...

Edited by bmartino1

Chose the docker postgress and plugin version that fits your environment and setup...

https://hub.docker.com/r/supabase/postgres/tags

 

a docker compose example already exists(on the docker hub page...)...
Review there github and add and make the necessary variables...

per the above github chose the correct tag Postgres and "goodies"
https://hub.docker.com/r/supabase/postgres/tags
 

#version: '3.8'

services:
  db:
    image: supabase/postgres:latest
    ports:
      - "5432:5432"
    environment:
      POSTGRES_PASSWORD: your_password
      POSTGRES_USER: your_user
      POSTGRES_DB: your_database

will give you a postgress form supabase in the default docker bridge network...

Thats the bare min you would need to use that postgress image...


 

Thanks for the response @bmartino1but the problem is the very first step, and only for the `supabase/postgres:latest` (or any other tag).  I can't even get to the process of adding ports or vars because of this. Does the iniital data download of this container work for you? 

👇 Here's a dedicated thread. 

 

  • Author
29 minutes ago, GollyJer said:

Thanks for the response @bmartino1but the problem is the very first step, and only for the `supabase/postgres:latest` (or any other tag).  I can't even get to the process of adding ports or vars because of this. Does the iniital data download of this container work for you? 

👇 Here's a dedicated thread. 

 

I tried to install supabase via docker compose unraid and it didn't install one of the dockers.

Supabase installs several dockers, between 6 and 10, I don't remember.
 

After reading some comments that the self-hosted supabase consumes a lot of PC power and has some flaws, I gave up.

My advice is to use the online supabase.

 

My solution was to install postgres with pgvector.
I left supabase aside, because supabase is just an interface for postgres.

It is recommended to use postgres + pgvector for databases with vectors.
And pgadmin to manage postgres.

image.png.3b74a0b7e0b93505447ea520b143bb2d.png

  • Author
1 hour ago, GollyJer said:

Thanks for taking a look @Braulio Dias Ribeiro

 

As for using postgres directly... I realized after reading this
https://github.com/supabase/postgres?tab=readme-ov-file#postgresql-15-extensions
It basically is just postgres with a good set of default extensions I would be installing myself.


Are you ready for automation?
If you install all of this, you will have complete automation.

image.thumb.png.e5f6b1e9cb43457d07e2c0b09a779e8f.png

cool what are you automating and why?

what are you trying to accomplish?

  • Author
19 hours ago, bmartino1 said:

cool what are you automating and why?

what are you trying to accomplish?

I am automating processes in the company.
Chatbot with artificial intelligence (RAG), social media management, email classification, email download, among other things.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.