mirror of
https://github.com/theoleuthardt/homelab-docker-compose.git
synced 2026-06-05 15:41:07 +00:00
25 lines
429 B
YAML
25 lines
429 B
YAML
services:
|
|
n8n:
|
|
image: n8nio/n8n:latest
|
|
restart: always
|
|
ports:
|
|
- "5678:5678"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- n8n_data:/home/node/.n8n
|
|
- n8n_files:/files
|
|
depends_on:
|
|
- postgres
|
|
postgres:
|
|
image: postgres:15
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- n8n_postgres_data:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
n8n_data:
|
|
n8n_files:
|
|
n8n_postgres_data:
|