Hey,
I believe that problem I resolved with fixing wrong environment syntax (like does (not) use leading slash in URL). Can you see my env and see if your matches? If that doesn’t fix the problem, can you please send your envs (can be PM if sensitive)
My envs:
version: "3"
services:
n8n:
image: n8nio/n8n
container_name: n8n
restart: always
ports:
- "5678:${PORT}"
labels:
- com.centurylinklabs.watchtower.enable=true
environment:
- N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
- N8N_PORT=${PORT}
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
- NODE_FUNCTION_ALLOW_EXTERNAL=moment
- EXECUTIONS_DATA_PRUNE=true
- EXECUTIONS_DATA_PRUNE_TIMEOUT=604800
- DB_SQLITE_VACUUM_ON_STARTUP=true
- EXECUTIONS_DATA_MAX_AGE=7
volumes:
- ./.n8n:/home/node/.n8n
- ./n8n-local-files:/files
networks:
- nginx
networks:
nginx:
external:
name: nginx
envs:
DOMAIN_NAME=hryszko.dev
SUBDOMAIN=n8n
GENERIC_TIMEZONE=Europe/Berlin
PORT=5678
Hope helped!
Simon