-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcompose.orbstack.yml
More file actions
159 lines (154 loc) · 5.17 KB
/
compose.orbstack.yml
File metadata and controls
159 lines (154 loc) · 5.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
services:
###########################################################################
# postgres database
###########################################################################
postgres:
image: postgres:17-alpine
hostname: postgres
container_name: postgres
restart: unless-stopped
ports:
- 5432:5432
volumes:
- pg_data:/var/lib/postgresql/data
- ./config/db/init-data.sh:/docker-entrypoint-initdb.d/init-data.sh:Z
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- POSTGRES_NON_ROOT_USER
- POSTGRES_NON_ROOT_PASSWORD
healthcheck:
test: ['CMD-SHELL', 'pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
interval: 5s
timeout: 5s
retries: 10
###########################################################################
# Qdrant - Open-source, high performance vector store
###########################################################################
qdrant:
image: qdrant/qdrant:v1.13.6
hostname: qdrant
container_name: qdrant
restart: unless-stopped
expose:
- 6333
volumes:
- qdrant_storage:/qdrant/storage
###########################################################################
# n8n-import: import pre-build workflows
###########################################################################
n8n-import:
image: docker.n8n.io/n8nio/n8n:1.88.0
hostname: n8n-import
container_name: n8n-import
entrypoint: /bin/sh
profiles: [first-time-only]
command:
- "-c"
- "n8n import:credentials --separate --input=/backup/credentials && n8n import:workflow --separate --input=/backup/workflows"
environment:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
- DB_POSTGRESDB_USER=${POSTGRES_NON_ROOT_USER}
- DB_POSTGRESDB_PASSWORD=${POSTGRES_NON_ROOT_PASSWORD}
- N8N_ENCRYPTION_KEY
volumes:
- ./config/n8n:/backup
depends_on:
postgres:
condition: service_healthy
###########################################################################
# n8n is an extendable workflow automation tool.
# Documentation: https://n8n.io
# Environment variables: https://docs.n8n.io/hosting/configuration/environment-variables/
###########################################################################
n8n:
image: docker.n8n.io/n8nio/n8n:1.88.0
hostname: n8n
container_name: n8n
restart: unless-stopped
expose:
- 5678
links:
- postgres
environment:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=postgres
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
- DB_POSTGRESDB_USER=${POSTGRES_NON_ROOT_USER}
- DB_POSTGRESDB_PASSWORD=${POSTGRES_NON_ROOT_PASSWORD}
- NODE_ENV=production
- N8N_EDITOR_BASE_URL=https://n8n.${COMPOSE_PROJECT_NAME}.orb.local
- WEBHOOK_URL=https://n8n.${COMPOSE_PROJECT_NAME}.orb.local
- GENERIC_TIMEZONE
- N8N_DIAGNOSTICS_ENABLED=false
- N8N_PERSONALIZATION_ENABLED=false
- N8N_ENCRYPTION_KEY
- N8N_USER_MANAGEMENT_JWT_SECRET
- OLLAMA_HOST=host.docker.internal:11434
# - N8N_EMAIL_MODE=smtp
# - N8N_SMTP_HOST=<smtp.sendgrid.net>
# - N8N_SMTP_PORT=<465>
# - N8N_SMTP_USER=<apikey>
# - N8N_SMTP_PASS=<sendgrid api key>
# - N8N_SMTP_SENDER=<n8n@example.com>
# - N8N_SMTP_SSL=true
volumes:
- n8n_data:/home/node/.n8n
- ./shared:/data/shared
depends_on:
postgres:
condition: service_healthy
n8n-import:
condition: service_completed_successfully
required: false
###########################################################################
# flowise Open source low-code tool for developers to build
# customized LLM orchestration flow & AI agents.
# Documentation: https://flowiseai.com/
###########################################################################
flowise:
image: flowiseai/flowise
hostname: flowise
container_name: flowise
restart: unless-stopped
profiles: [flowise]
environment:
- PORT=3001
expose:
- 3001
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- flowise_data:/root/.flowise
entrypoint: /bin/sh -c "sleep 3; flowise start"
###########################################################################
# open-webui : Chat User-friendly AI Interface
###########################################################################
webui:
image: ghcr.io/open-webui/open-webui:main
hostname: webui
container_name: webui
restart: unless-stopped
profiles: [webui]
# environment:
# - OLLAMA_BASE_URL=http://host.docker.internal:11434
expose:
- 3000
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- open-webui:/app/backend/data
###########################################################################
# volumes
###########################################################################
volumes:
pg_data: {}
n8n_data: {}
qdrant_storage: {}
flowise_data: {}
open-webui: {}