File size: 644 Bytes
668685b 17e1be6 668685b 6d3e714 2a605c0 17e1be6 668685b 899ac1d 17e1be6 668685b 6d3e714 668685b 0895fcf 668685b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# Use the official Node.js image as the base
FROM node:latest
# Set working directory
WORKDIR /usr/src/app
# Set environment variables for n8n
ENV N8N_PORT=7860
ENV WEBHOOK_URL=https://Alirezamp-n8n-domain.hf.space/
ENV VUE_APP_URL_BASE_API=https://Alirezamp-n8n-domain.hf.space/
ENV N8N_RUNNERS_ENABLED=true
ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV N8N_BASIC_AUTH_ACTIVE=true
ENV N8N_BASIC_AUTH_USER="amp"
ENV N8N_BASIC_AUTH_PASSWORD="amptoor"
ENV N8N_ENCRYPTION_KEY="AkYz6txw4qe+lCTU4Yslf1xNcn9vbwABIwMnqniamp9="
# Expose the port for n8n
EXPOSE 7860
# Install n8n globally
RUN npm install n8n -g --unsafe-perm=true
# Start n8n
CMD ["n8n"] |