-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.demo.yml
More file actions
144 lines (141 loc) · 2.74 KB
/
Copy pathdocker-compose.demo.yml
File metadata and controls
144 lines (141 loc) · 2.74 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
# a docker-compose file with a postgres 14 service
#version: '3.8'
services:
ccnginx:
build:
context: .
dockerfile: ./dockerfiles/Dockerfile-nginx
container_name: ccnginx
restart: always
ports:
- "80:80"
- "443:443"
volumes:
- ./media:/media/
- ./staticfiles:/static/
- ssl:/certs
depends_on:
- cc
- ssl
networks:
- cc-net
ssl:
build:
context: .
dockerfile: ./dockerfiles/Dockerfile-ssl
volumes:
- ssl:/certs
cc:
build:
context: .
dockerfile: ./dockerfiles/Dockerfile
network: host
ports:
- "8001:8000"
container_name: cc
volumes:
- ./media:/app/media/
env_file:
- .env
networks:
- cc-net
ccdocx:
build:
context: .
dockerfile: dockerfiles/Dockerfile-export-worker
network: host
container_name: ccdocx
volumes:
- ./media:/app/media/
env_file:
- .env
networks:
- cc-net
ccimport:
build:
context: .
dockerfile: dockerfiles/Dockerfile-import-data-worker
network: host
container_name: ccimport
volumes:
- ./media:/app/media/
env_file:
- .env
networks:
- cc-net
ccworker:
build:
context: .
dockerfile: dockerfiles/Dockerfile-transcribe-worker
network: host
container_name: ccworker
volumes:
- ./media:/app/media/
env_file:
- .env
networks:
- cc-net
ccocr:
build:
context: .
dockerfile: dockerfiles/Dockerfile-ocr
network: host
container_name: ccocr
volumes:
- ./media:/app/media/
env_file:
- .env
networks:
- cc-net
ccdb:
container_name: ccdb
image: postgres:14
restart: always
shm_size: '2gb'
env_file:
- .env
ports:
- "5433:5432"
volumes:
- ./data2:/var/lib/postgresql/data
networks:
- cc-net
ccredis:
build:
context: .
dockerfile: ./dockerfiles/Dockerfile-redis
network: host
container_name: ccredis
restart: always
env_file:
- .env
ports:
- "6380:6379"
networks:
- cc-net
ccllama:
build:
context: .
dockerfile: dockerfiles/Dockerfile-llama-worker
network: host
container_name: ccllama
env_file:
- .env
networks:
- cc-net
# llama:
# build:
# context: .
# dockerfile: ./dockerfiles/Dockerfile-llama
# network: host
# container_name: llama
# restart: always
# ports:
# - "8080:8080"
# volumes:
# - ./models:/models
# entrypoint: ./server -m /models/capybarahermes-2.5-mistral-7b.Q5_K_M.gguf --host 0.0.0.0 --port 8080 -t 16 -c 2048
volumes:
ssl:
networks:
cc-net: