-
Notifications
You must be signed in to change notification settings - Fork 116
/
compose.yml
119 lines (110 loc) · 2.43 KB
/
compose.yml
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
version: '3.4'
services:
# agent-manager:
# build:
# dockerfile: apps/cloud-agent-manager/Dockerfile
# target: development
# context: .
# command: npm run dev:agentManager
# depends_on:
# - db
# - redis
# - agent-worker
# volumes:
# - .:/app
# - /app/node_modules
# agent-worker:
# build:
# dockerfile: apps/cloud-agent-worker/Dockerfile
# target: development
# context: .
# command: npm run dev:agentWorker
# depends_on:
# - db
# - redis
# - embedder
# volumes:
# - .:/app
# - /app/node_modules
# server:
# build:
# dockerfile: apps/server/Dockerfile
# target: development
# context: .
# command: npm run dev:server
# ports:
# - '3030:3030'
# depends_on:
# - db
# - redis
# - agent-manager
# - embedder
# volumes:
# - .:/app
# - /app/node_modules
embedder:
build:
dockerfile: apps/embedder/Dockerfile
target: development
context: .
command: npm run dev:embedder
# depends_on:
# - db
# - redis
volumes:
- .:/app
- ./node_modules:/app/node_modules
# connector:
# build:
# dockerfile: apps/connector/Dockerfile
# target: development
# context: .
# command: npm run dev:connector
# depends_on:
# - db
# - redis
# - agent-manager
# - agent-worker
# redis:
# image: redis:latest
# restart: always
# ports:
# - '6379:6379'
# db:
# restart: always
# image: ankane/pgvector:v0.4.1
# hostname: magick_db
# environment:
# POSTGRES_DB: magick
# POSTGRES_USER: magick
# POSTGRES_PASSWORD: magick_default_pw
# ports:
# - '5432:5432'
# volumes:
# - ./init.sql:/docker-entrypoint-initdb.d/init.sql
# shadow-db:
# restart: always
# image: ankane/pgvector:v0.4.1
# hostname: magick_shadow_db
# environment:
# POSTGRES_DB: magick_shadow
# POSTGRES_USER: magick_shadow
# POSTGRES_PASSWORD: magick_shadow_default_pw
# ports:
# - '5433:5432'
# volumes:
# - ./init.sql:/docker-entrypoint-initdb.d/init.sql
# s3mock:
# image: adobe/s3mock
# command: ['-s', '-p', '9090']
# ports:
# - '9090:9090'
# - '9191:9191'
volumes:
cache:
driver: local
s3-data:
driver: local
networks:
default:
name: magick-network