Describe the problem/error/question
I am self hosting N8N in docker with the offical docker image, I have docker connected to Supabase and everything seems fine, however, every 24 hours my license just disappears, nothing else happens, but the license just disappears and I’m asked to grab another license…
I have cleared the license with
n8n license:clear
I have added the license to my docker compose file
environment:
- N8N_LICENSE_ACTIVATION_KEY=
What is the error message (if any)?
None the license applies fine..
[license SDK] license successfully activated
Information on your n8n setup
- **n8n version:**1.112.6
- Database (default: SQLite): postgres via Supabase
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker compose
- Operating system: alpine linux
Here’s my docker compose file
services:
n8n:
image: n8nio/n8n:latest
restart: unless-stopped
container_name: n8n
user: "0:0"
networks:
- shared-network
ports:
- '5678:5678'
environment:
- N8N_LICENSE_ACTIVATION_KEY=3d
- N8N_HIDE_USAGE_PAGE=false
- N8N_LICENSE_DETACH_FLOATING_ON_SHUTDOWN=false # attempt to stop license being removed..
- N8N_SECURE_COOKIE=false
- N8N_PORT=5678
- NODE_ENV=production
- GENERIC_TIMEZONE=Australia/Sydney
- N8N_RUNNERS_ENABLED=true
- N8N_EDITOR_BASE_URL=
- EXECUTIONS_DATA_PRUNE=true
- EXECUTIONS_DATA_MAX_AGE=720
# Database configuration for Supabase
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=192.168.86.24
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=postgres
- DB_POSTGRESDB_USER=postgres
- DB_POSTGRESDB_PASSWORD=msdmsd
- DB_POSTGRESDB_SCHEMA=n8n
volumes:
- ./n8n_data:/home/node/.n8n
depends_on:
- db
networks:
shared-network:
external: true