-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
36 lines (35 loc) · 880 Bytes
/
docker-compose.yaml
File metadata and controls
36 lines (35 loc) · 880 Bytes
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
services:
matter-backend:
image: gravitycloud/matter:latest
container_name: matter-backend
restart: always
ports:
- "8080:8080"
environment:
- GITHUB_ORG_TOKEN=<github-org-token>
- GITHUB_ORG_NAME=<github-org-name>
- GITHUB_REPOS=<comma-separated-list>
- AI_API_KEY=<open-ai-api-key>
- AI_MODEL=<open-ai-model>
- AI_PROVIDER=openai
- ENABLE_PR_REVIEW_COMMENT=true
- ENABLE_PR_DESCRIPTION=true
- GRAVITY_API_KEY=<gravity-api-key>
depends_on:
- postgres
networks:
- matter-network
extra_hosts:
- "host.docker.internal:host-gateway"
- "localhost:host-gateway"
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
reservations:
cpus: '0.25'
memory: 256M
networks:
matter-network:
driver: bridge