-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (35 loc) · 820 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (35 loc) · 820 Bytes
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
version: '3.7'
services:
postgres:
image: ankane/pgvector:v0.5.0
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=aidb
- PGPASSWORD=postgres
logging:
options:
max-size: 10m
max-file: "3"
ports:
- "5435:5432"
volumes:
- ./postgres/data:/var/lib/postgresql/data
- ./postgres/scripts:/docker-entrypoint-initdb.d
# ollama:
# image: ollama/ollama
# container_name: ollama-test
# ports:
# - "11431:11434"
# volumes:
# - ./ollama:/root/.ollama
# entrypoint: >
# /bin/sh -c "
# ollama serve &
# sleep 2 &&
# ollama pull gemma3:4b-it-q4_K_M &&
# ollama pull mxbai-embed-large &&
# wait
# "
# restart: unless-stopped