services: << service_name >>: image: n8nio/n8n:latest container_name: << service_name >> ports: - "<< port >>:5678" environment: - N8N_HOST=<< webhook_host >> - N8N_PORT=5678 - N8N_PROTOCOL=http - WEBHOOK_URL=http://<< webhook_host >>:<< port >>/ - GENERIC_TIMEZONE=<< timezone >> - TZ=<< timezone >> - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true volumes: - << appdata_dir >>/<< service_name >>/data:/home/node/.n8n restart: unless-stopped