-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
48 lines (45 loc) · 1 KB
/
compose.yaml
File metadata and controls
48 lines (45 loc) · 1 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
services:
server:
restart: always
build:
context: ./server
dockerfile: Dockerfile
container_name: server
volumes:
- ./server:/server
ports:
- 8000:8000
env_file:
- .env
tty: true
depends_on:
- vector-server
- sql-server
vector-server:
image: qdrant/qdrant
container_name: qdrant
volumes:
- ./qdrant/qdrant_data:/qdrant/storage
- ./qdrant/qdrant_snapshots/:/snapshots
environment:
QDRANT__STORAGE__SNAPSHOT_PATH: /snapshots
QDRANT__TELEMETRY_DISABLED: 'true'
ports:
- 6333:6333
sql-server:
image: postgres
container_name: mysql
ports:
- 5432:5432
restart: always
environment:
POSTGRES_PASSWORD: "postgres"
POSTGRES_USER: "postgres"
POSTGRES_DB: "jargone"
POSTGRES_EXTENSIONS: "fuzzystrmatch"
volumes:
- psql_data:/var/lib/postgresql/data
- ./postgres/init:/docker-entrypoint-initdb.d/
volumes:
psql_data:
driver: local