-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
59 lines (55 loc) · 1.23 KB
/
docker-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
# Use postgres/example user/password credentials
services:
nginx:
image: nginx:${NGINX_IMAGE_TAG} # stable-alpine3.19
volumes:
- ./nginx:/etc/nginx/templates
ports:
- "80:8080"
environment:
- NGINX_HOST=localhost
- NGINX_PORT=8080
- NGINX_PROXY_PASS=http://gutenberg:3000
depends_on:
gutenberg:
condition: service_started
db:
image: postgres
restart: always
shm_size: 128mb
environment:
POSTGRES_PASSWORD: super-secret-password
POSTGRES_USER: postgres
ports:
- "5432:5432"
volumes:
- db-data:/var/lib/postgresql/data
gutenberg:
image: gutenberg
build:
context: .
dockerfile: Dockerfile
args:
CACHE_BUST: ${CACHE_BUST}
MATERIAL_METHOD: "pull"
MATERIAL_DIR: ".material"
YAML_TEMPLATE: "config/oxford.yaml"
links:
- db
depends_on:
db:
condition: service_started
environment:
DATABASE_URL: postgresql://postgres:super-secret-password@db:5432
qdrant:
image: qdrant
build:
context: qdrant/.
dockerfile: Dockerfile
ports:
- "6333:6333"
volumes:
- qdrant_data:/qdrant/storage
volumes:
db-data:
qdrant_data: