-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
137 lines (126 loc) · 3.59 KB
/
docker-compose.yml
File metadata and controls
137 lines (126 loc) · 3.59 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
version: '3.4'
services:
fileservice:
image: catalibugnar/fileservice
build:
context: ./FileService
dockerfile: FileService.WebApi/Dockerfile
ports:
- "12600:12600"
environment:
FILESERVICE_BINDING_ADRESS: http://*
FILESERVICE_BINDING_PORT: 12600
FILESERVICE_MINIO_ENDPOINT: minio:9000
FILESERVICE_MINIO_ACCESS_KEY: your_username
FILESERVICE_MINIO_SECRET_KEY: your_pasword
FILESERVICE_CONNECTION_STRING: mongodb://mongodb:27017/app
OTEL_URL: http://otel:4317
depends_on:
- minio
- mongodb
notebookservice:
image: catalibugnar/notebookservice
build:
context: ./NotebookService
dockerfile: NotebookService.WebApi/Dockerfile
ports:
- "12700:12700"
environment:
NOTEBOOKSERVICE_BINDING_ADRESS: http://*
NOTEBOOKSERVICE_BINDING_PORT: 12700
NOTEBOOKSERVICE_CONNECTION_STRING: mongodb://mongodb:27017/app
OTEL_URL: http://otel:4317
depends_on:
- mongodb
userservice:
image: catalibugnar/userservice
build:
context: ./UserService
dockerfile: Userservice.WebApi/Dockerfile
ports:
- "12500:12500"
environment:
USERSERVICE_BINDING_ADRESS: http://*
USERSERVICE_BINDING_PORT: 12500
USERSERVICE_CONNECTION_STRING: mongodb://mongodb:27017/app
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
depends_on:
- mongodb
generatorservice:
image: catalibugnar/generatorservice
build:
context: ./GeneratorService
dockerfile: GeneratorService.WebApi/Dockerfile
ports:
- "12800:12800"
environment:
GENERATORSERVICE_BINDING_ADRESS: http://*
GENERATORSERVICE_BINDING_PORT: 12800
OLLAMA_URL: http://ollama:11434
OTEL_URL: http://otel:4317
depends_on:
- mongodb
ollama:
container_name: ollama
pull_policy: always
tty: true
restart: unless-stopped
image: ollama/ollama:0.1.29
ports:
- 11434:11434
ollama-webui:
image: ghcr.io/ollama-webui/ollama-webui:git-f4000f4
container_name: ollama-webui
depends_on:
- ollama
ports:
- 3000:8080
environment:
- '/ollama/api=http://ollama:11434/api'
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped
minio:
image: docker.io/bitnami/minio:2024.2.26
ports:
- '9000:9000'
- '9001:9001'
environment:
MINIO_ROOT_USER: your_username
MINIO_ROOT_PASSWORD: your_pasword
mongodb:
image: bitnami/mongodb:6.0.2
container_name: mongodb
environment:
MONGO_INITDB_DATABASE: app
ports:
- "27017:27017"
deploy:
resources:
limits:
cpus: "4.0"
memory: 200M
otel:
# See https://opentelemetry.io/docs/collector/
image: otel/opentelemetry-collector-contrib:0.95.0
command: ["--config=/etc/otel-collector-config.yml"]
ports:
- 4317:4317 # gRPC receiver
- "8889" # Prometheus exporter metrics
- "13133" # health_check extension
volumes:
- ./otel-collector-config.yml:/etc/otel-collector-config.yml:ro
prometheus:
# See https://prometheus.io/docs/prometheus/latest/installation/#using-docker
image: prom/prometheus:v2.49.1
ports:
- 9090:9090
volumes:
- ./prometheus-config.yml:/etc/prometheus/prometheus.yml:ro
jaeger:
# See https://www.jaegertracing.io/docs/1.38/deployment/#all-in-one
image: jaegertracing/all-in-one:1.54.0
ports:
- "14269" # Admin port (health check and /metrics)
- 16686:16686 # Jaeger frontend
- "4317" # Trace data receive port (otlp).