Files
n8n/.devcontainer/docker-compose.yml
2026-08-10 13:32:02 +00:00

25 lines
491 B
YAML

volumes:
postgres-data:
services:
postgres:
image: postgres:18-alpine
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql
environment:
- POSTGRES_DB=n8n
- POSTGRES_PASSWORD=password
n8n:
build:
context: .
dockerfile: Dockerfile
volumes:
- ..:/workspaces:cached
command: sleep infinity
environment:
DB_POSTGRESDB_HOST: postgres
DB_TYPE: postgresdb
DB_POSTGRESDB_PASSWORD: password