-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (52 loc) · 1.41 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
version: '3.8'
services:
arkivgpt-processor:
image: localhost:5000/arkivgpt-processor:latest
build:
context: ./
dockerfile: ArkivGPT_Processor/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- GRPC_SERVER_ADDRESS=http://arkivgpt-ocr:5001
deploy:
replicas: 2
volumes:
- ./Files/:/processor/Files
arkivgpt-gateway:
image: localhost:5000/arkivgpt-gateway:latest
build:
context: ./ArkivGPT_Gateway
dockerfile: Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- GRPC_SERVER_ADDRESS=http://arkivgpt-processor:5001
volumes:
- ./Files/:/gateway/Files
frontend:
image: localhost:5000/frontend:latest
build:
context: ./ArkivGPT_Frontend
dockerfile: Dockerfile
arkivgpt-ocr:
image: localhost:5000/arkivgpt-ocr:latest
build:
context: ./ArkivGPT_OCR
dockerfile: Dockerfile
deploy:
replicas: 4
volumes:
- ./Files/:/ocr/Files
nginx:
image: docker.io/nginx:latest
container_name: arkivgpt-nginx
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
#- ./certbot/www:/var/www/certbot/:ro
#- ./certbot/conf/:/etc/nginx/ssl/:ro
ports:
- "80:80"
#- "443:443"
restart: always
# depends_on:
# - frontend
# - arkivgpt-gateway