Skip to content

Instantly share code, notes, and snippets.

@dragonfire1119
Last active January 19, 2026 19:56
Show Gist options
  • Select an option

  • Save dragonfire1119/65a3b3fdca8f89cd487b1bfe0d050845 to your computer and use it in GitHub Desktop.

Select an option

Save dragonfire1119/65a3b3fdca8f89cd487b1bfe0d050845 to your computer and use it in GitHub Desktop.
Docker compose for n8n.io
version: '3'
services:
n8n:
image: docker.n8n.io/n8nio/n8n
ports:
- 5678:5678
environment:
- GENERIC_TIMEZONE=America/Chicago
- TZ=America/Chicago
@bugfixTK
Copy link

Vielen Dank! Ich bastel schon den ganzen Tag so rum und nun läuft es! Danke aus Germany!!!

@Theminemat
Copy link

In this case how to persist data in an upgrade ?

Kinda late, but for anyone who finds this later on:
Here’s a Docker Compose setup that uses a volume for persistence and also configures a domain.

version: '3'
services:
  n8n:
    image: docker.n8n.io/n8nio/n8n
    ports:
      - "5678:5678"
    environment:
      - GENERIC_TIMEZONE=Europe/Berlin
      - TZ=Europe/Berlin
      - N8N_HOST=yourdomain.com
      - WEBHOOK_URL=yourdomain.com
    volumes:
      - n8n_data:/home/node/.n8n

volumes:
  n8n_data:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment