https://github.com/ivjuniorbr/stack-aia-ubuntu-n8n
Infra Docker: n8n + Flowise + Evolution API no Ubuntu MATE 24.04
https://github.com/ivjuniorbr/stack-aia-ubuntu-n8n
automation devops docker docker-compose evolution-api flowise n8n n8n-automation n8n-webhook n8n-workflows ubuntu ubuntu-mate
Last synced: about 2 months ago
JSON representation
Infra Docker: n8n + Flowise + Evolution API no Ubuntu MATE 24.04
- Host: GitHub
- URL: https://github.com/ivjuniorbr/stack-aia-ubuntu-n8n
- Owner: ivjuniorbr
- License: mit
- Created: 2025-10-02T14:07:36.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-10-02T15:29:21.000Z (8 months ago)
- Last Synced: 2025-10-02T16:23:08.752Z (8 months ago)
- Topics: automation, devops, docker, docker-compose, evolution-api, flowise, n8n, n8n-automation, n8n-webhook, n8n-workflows, ubuntu, ubuntu-mate
- Language: Makefile
- Homepage: https://github.com/ivjuniorbr/stack-aia-ubuntu-n8n#como-usar
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stack AIA – Ubuntu MATE 24.04 (n8n + Worker, Postgres, Redis, Flowise, Evolution API, Ngrok)
Ambiente pronto para automações com **n8n**, **Flowise**, **Evolution API**, **Postgres**, **Redis**, **Ngrok** em **Docker Compose**.
Documentado para **Ubuntu MATE 24.04 LTS** em máquina UEFI, com **SSH**, **VNC** e **AnyDesk**.
---
## Sumário
1. [Cenário e objetivo](#cenário-e-objetivo)
2. [Requisitos](#requisitos)
3. [Instalação do Ubuntu e UEFI](#instalação-do-ubuntu-e-uefi)
4. [Pós-instalação essencial](#pós-instalação-essencial)
5. [AnyDesk](#anydesk)
6. [Docker e Docker Compose](#docker-e-docker-compose)
7. [Estrutura do projeto](#estrutura-do-projeto)
8. [Templates: `.env` e `docker-compose.yml`](#templates-env-e-docker-composeyml)
9. [Criar pastas, permissões e subir](#criar-pastas-permissões-e-subir)
10. [Testes de saúde e URLs](#testes-de-saúde-e-urls)
11. [Firewall (UFW)](#firewall-ufw)
12. [Acesso remoto: SSH, VNC, TightVNC](#acesso-remoto-ssh-vnc-tightvnc)
13. [Problemas comuns e correções](#problemas-comuns-e-correções)
14. [Diagnóstico rápido](#diagnóstico-rápido)
---
## Cenário e objetivo
- Sistema: **Ubuntu MATE 24.04 LTS** (instalação limpa, UEFI nativo).
- Serviços via Docker: **n8n** (+ worker), **Postgres**, **Redis**, **Flowise**, **Evolution API**, **Ngrok**.
- Acesso remoto: **AnyDesk**, **SSH (PuTTY)** e **VNC (x11vnc + TightVNC)**.
---
## Requisitos
- Ubuntu MATE 24.04 LTS (64-bit), acesso sudo e internet.
- Portas padrão: `5678` (n8n), `3030` (Flowise), `8080` (Evolution), `5432` (Postgres), `6379` (Redis), `5900` (VNC).
---
## Instalação do Ubuntu e UEFI
1. **Pendrive** com Rufus (Windows):
- ISO `ubuntu-mate-24.04.x-desktop-amd64.iso`
- **GPT** + **UEFI (não CSM)** + **FAT32**.
2. **BIOS/UEFI (HP/geral)**
- Modo: **Nativo do UEFI (sem CSM)**
- **OS Boot Manager** no topo
- **Custom Boot** desativado.
3. Se ao ligar pedir **F9** toda vez, ajuste no Ubuntu:
```bash
sudo efibootmgr -v
sudo efibootmgr -o 0000
# Se necessário reinstalar GRUB EFI:
sudo mount | grep /boot/efi || sudo mount /boot/efi
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu
sudo update-grub
sudo efibootmgr -o 0000