Automatisation / Dockerfile
FreudArthur's picture
Retour aux configs d'origines
7439299
Raw History Blame Contribute Delete
632 Bytes
FROM n8nio/n8n:latest
EXPOSE 7860
# 7860 pour hf
# Configuration réseau
#ENV N8N_HOST=freudarthur-automatisation.hf.space
ENV N8N_PORT=7860
ENV N8N_PROTOCOL=http
ENV WEBHOOK_URL=https://freudarthur-automatisation.hf.space/
# Configuration de production
ENV NODE_ENV=production
ENV N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
ENV NODE_FUNCTION_ALLOW_EXTERNAL=python
# Runners
ENV N8N_RUNNERS_ENABLED=true
# Base de données PostgreSQL (à surcharger dans docker-compose)
ENV DB_TYPE=postgresdb
ENV DB_POSTGRESDB_SSL_ENABLED=true
ENV DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED=false
# Volume de persistance
VOLUME ["/home/node/.n8n"]