-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (40 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
41 lines (40 loc) · 1.01 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
# SPDX-FileCopyrightText: 2025 LitterBox-Web contributors
#
# SPDX-License-Identifier: EUPL-1.2
---
services:
code-readability:
build:
context: ./connectors/code_readability/
dockerfile: ./Containerfile
networks:
- litterbox-web
# only required when debugging from the host
# ports:
# - 127.0.0.1:8000:8000
volumes:
- ./data/pytorch_model.bin:/pytorch_model.bin:ro
screenshot:
build:
context: ./connectors/screenshot/
dockerfile: ./Containerfile
networks:
- litterbox-web
# only required when debugging from the host
# ports:
# - 127.0.0.1:3001:3001
litterbox-web:
build:
context: ./litterbox-web
dockerfile: ./Containerfile
networks:
- litterbox-web
ports:
- 127.0.0.1:8080:8080
environment:
SPRING_PROFILES_ACTIVE: code-readability
LITTERBOXWEB_SCREENSHOT_URL: http://screenshot:3001/
LITTERBOXWEB_CODEREADABILITY_URL: http://code-readability:8000/
networks:
litterbox-web:
...