Files
aio-01d4-stu/Last3Mon/65/n8n/compose.yml
T

26 lines
1000 B
YAML
Raw Normal View History

2026-10-13 20:26:54 +09:00
# Course stack for days 65-79: the official n8n one-line setup + Ollama (fallback LLM).
#
# 1) Install n8n once with the official script, into ~/day65-n8n (the folder name becomes the
# Docker project name, so the network stays day65-n8n_default for the day 67+ data APIs):
# cd ~ && curl -fsSL https://get.n8n.io | N8N_DIR=./day65-n8n sh -s -- --version 2.42.6
# 2) From this folder, run everything together:
# docker compose up -d (start / stop / ps / logs n8n / exec ollama ... as usual)
#
# This file includes ~/day65-n8n/compose.yml (n8n, task runners, sandbox, search) as written by the
# script, and adds Ollama. n8n reaches Ollama at http://ollama:11434; WSL programs use localhost:11434.
2026-10-13 17:09:59 +09:00
name: day65-n8n
2026-10-13 20:26:54 +09:00
include:
- path: ${N8N_HOME:-../../../../day65-n8n}/compose.yml
2026-10-13 17:09:59 +09:00
2026-10-13 20:26:54 +09:00
services:
2026-10-13 17:09:59 +09:00
ollama:
image: ollama/ollama:latest
ports:
- "11434:11434"
volumes:
- ${OLLAMA_DATA:-ollama-data}:/root/.ollama
restart: unless-stopped
volumes:
ollama-data: