--- version: "3" services: n8n: build: . image: glenux/service-n8n # restart: always ports: - "127.0.0.1:5678:5678" environment: - N8N_HOST=localhost - N8N_PORT=5678 - N8N_PROTOCOL=http - NODE_ENV=production - WEBHOOK_URL=http://localhost:5678/ - GENERIC_TIMEZONE=${GENERIC_TIMEZONE} # - WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/ # - N8N_BASIC_AUTH_ACTIVE=true # - N8N_BASIC_AUTH_USER # - N8N_BASIC_AUTH_PASSWORD # - N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME} volumes: - n8n_data:/home/node/.n8n volumes: n8n_data: