Please provide a docker compose file to setup the following services - N8N, Nginx Proxy…
- User
Please provide a docker compose file to setup the following services - N8N, Nginx Proxy Manager, Supabase and Appsmith
N8N - will be used for automations supabase - is the database Appsmith - is the front end builder Nginx Proxy manager - used for lets encrypt + SSL
- Assistant
Here's a
docker-compose.ymlfile to set up N8N, Nginx Proxy Manager, Supabase, and Appsmith. This example assumes that you have your own domain and an existing network called "webproxy" where Nginx Proxy Manager connects.version: '3.8' services: n8n: image: n8nio/n8n container_name: n8n environment: - N8N_BASIC_AUTH_ACTIVE=true - N8N_BASIC_AUTH_USER=your-username - N8N_BASIC_AUTH_PASSWORD=your-password - N8N_HOST=n8n.example.com - N8N_PORT=5678 - N8N_PROTOCOL=https - NODE_ENV=production labels: - "traefik.enable=true" - "traefik.http.routers.n8n.rule=Host(`n8n.example.com`)" - "traefik.http.routers.n8n.entrypoints=websecure" - "traefik.http.routers.n8n.tls.certresolver=le" volumes: - ./n8n/data:/root/.n8n networks: - webproxy supabase: image: supabase/postgres:0.14.0 container_name: supabase environment: POSTGRES_DB: your_database_name POSTGRES_USER: your_username POSTGRES_PASSWORD: your_password volumes: - ./supabase/data:/var/lib/postgresql/data networks: - default appsmith: image: appsmith/appsmith:latest container_name: appsmith environment: APPSMITH_MONGODB_URI: mongodb://mongodb:27017/appsmith APPSMITH_REDIS_URL: redis://redis:6379 APPSMITH_ENCRYPTION_PASSWORD: your_encryption_password APPSMITH_ENCRYPTION_SALT: your_encryption_salt labels: - "traefik.enable=true" - "traefik.http.routers.appsmith.rule=Host(`appsmith.example.com`)" - "traefik.http.routers.appsmith.entrypoints=websecure" - "traefik.http.routers.appsmith.tls.certresolver=le" depends_on: - db - redis networks: - webproxy db: image: mongo:4.4 container_name: appsmith-db volumes: - ./appsmith/data/db:/data/db networks: - default redis: image: redis:6-alpine container_name: appsmith-redis volumes: - ./appsmith/data/redis:/data networks: - default networks: webproxy: external: true default: driver: bridgeRemember to replace the placeholder values with your own settings, such as domain names and credentials. Please note that the Nginx Proxy Manager service isn't included in this file, as it's expected to be set up separately. The services in this file are connected to the webproxy network, which should be the same network that the Nginx Proxy Manager is using.
You might need to adapt the Traefik labels if you're using a different reverse proxy solution or if your configuration differs from the example provided. Also, make sure to create the required volumes for data persistence on your host before starting the containers.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →