Skip to content

muzfr7/n8n-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

n8n Local

Simple n8n automation platform with PostgreSQL database for local environment.

πŸš€ Quick Start

# Copy environment file and update passwords
cp .env.example .env
# Edit .env file with your preferred passwords

# Make init script executable (first time only)
chmod +x init-data.sh

# Start services
docker-compose up -d

# Access n8n
open http://localhost:5678

πŸ“ Project Structure

β”œβ”€β”€ .env.example     # Environment template file
β”œβ”€β”€ compose.yaml     # Docker services configuration
β”œβ”€β”€ init-data.sh     # PostgreSQL initialization script
β”œβ”€β”€ README.md        # Project documentation
└── local-files/     # n8n file storage (created automatically)

πŸ”§ Services

πŸ’Ύ Database Access

# Connect to PostgreSQL
docker-compose exec postgres psql -U n8nuser -d n8n

# View workflows
SELECT name, active FROM workflow_entity;

πŸ“‹ Common Commands

# View logs
docker-compose logs -f n8n
docker-compose logs -f postgres

# Stop services
docker-compose down

# Reset everything (deletes data)
docker-compose down -v

βš™οΈ Configuration

Edit .env file to change:

  • Database credentials
  • Timezone settings
  • Domain configuration

πŸ”„ Updates

docker-compose pull
docker-compose up -d

About

Simple n8n automation platform with PostgreSQL database for local environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages