Certainly! Here's an example of a Docker Compose file that sets up N8N, Nginx Proxy Manager, Supabase, and Appsmith:

yaml
Copy code
version: '3.8'
services:
  n8n:
    image: n8nio/n8n
    restart: unless-stopped
    ports:
      - '5678:5678'
    environment:
      - N8N_BASIC_AUTH_ACTIVE=true
      - N8N_BASIC_AUTH_USER=<your_n8n_basic_auth_user>
      - N8N_BASIC_AUTH_PASSWORD=<your_n8n_basic_auth_password>
      - N8N_HOST=<your_n8n_host>
      - N8N_PORT=5678
    volumes:
      - ./n8n:/home/node/.n8n

  supabase:
    image: supabase/supabase
    restart: unless-stopped
    ports:
      - '5432:5432'
    environment:
      - POSTGRES_PASSWORD=<your_supabase_password>

  appsmith:
    image: appsmith/appsmith
    restart: unless-stopped
    ports:
      - '80:80'
    environment:
      - VIRTUAL_HOST=<your_appsmith_host>
    volumes:
      - ./appsmith:/appsmith

  nginx-proxy-manager:
    image: jc21/nginx-proxy-manager
    restart: unless-stopped
    ports:
      - '80:80'
      - '443:443'
      - '81:81'
    environment:
      - DATABASE=db.sqlite3
      - TZ=<your_timezone>
    volumes:
      - ./nginx-proxy-manager/data:/data
      - ./nginx-proxy-manager/letsencrypt:/etc/letsencrypt

networks:
  default:
    external:
      name: nginx-proxy-manager_default
Note: Please replace <your_n8n_basic_auth_user>, <your_n8n_basic_auth_password>, <your_n8n_host>, <your_supabase_password>, <your_appsmith_host>, and <your_timezone> with your desired values.

This Docker Compose file sets up the following services:

N8N: An automation tool with a web-based UI accessible on port 5678. It uses basic authentication for security.
Supabase: A PostgreSQL database service accessible on port 5432. You can configure your Supabase environment variables as needed.
Appsmith: A front-end builder accessible on port 80. You can configure the virtual host for Appsmith using the VIRTUAL_HOST environment variable.
Nginx Proxy Manager: A reverse proxy and SSL manager accessible on ports 80, 443, and 81. It uses a SQLite database and volumes for data persistence.
Make sure to create the necessary directories for volumes, such as ./n8n, ./appsmith, ./nginx-proxy-manager/data, and ./nginx-proxy-manager/letsencrypt, before running the Docker Compose file.

You can start the services using the docker-compose up -d command in the directory where the Docker Compose file is located. Please note that you need to have Docker and Docker Compose installed on your system to use this Docker Compose file.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence