-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (50 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
58 lines (50 loc) · 1.15 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
version: '3.8'
services:
api-gateway:
image: gratech/api-gateway:latest
build: ./backend/api
ports: ["8000:8000"]
environment:
- DB_HOST=postgres
- REDIS_HOST=redis
depends_on: [postgres, redis]
networks: [gratech-net]
ai-engine:
image: gratech/ai-engine:latest
build: ./backend/ai
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
networks: [gratech-net]
blockchain-ledger:
image: hyperledger/besu:latest
ports: ["8545:8545"]
networks: [gratech-net]
postgres:
image: postgres:15-alpine
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: secure_password
volumes: [pg_data:/var/lib/postgresql/data]
networks: [gratech-net]
redis:
image: redis:7-alpine
networks: [gratech-net]
prometheus:
image: prom/prometheus
ports: ["9090:9090"]
networks: [gratech-net]
grafana:
image: grafana/grafana
ports: ["3000:3000"]
depends_on: [prometheus]
networks: [gratech-net]
networks:
gratech-net:
driver: bridge
volumes:
pg_data: