-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
82 lines (81 loc) · 2.11 KB
/
compose.yaml
File metadata and controls
82 lines (81 loc) · 2.11 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
# Docker Compose Spec for Local Testing of Fairscape
services:
setup:
# image: ghcr.io/fairscape/setup:RELEASE.2025-05-27
build: "./deploy/setup/"
env_file: "./deploy/setup/setup.env"
depends_on:
- minio
- fairscape-api
- mongo
fairscape-worker:
build: "./"
# image: ghcr.io/fairscape/mds_python:RELEASE.2025-05-21.v1
env_file: "./deploy/docker_compose.env"
environment:
- GEMINI_API_KEY=${GEMINI_API_KEY}
- GITHUB_TOKEN=${GITHUB_TOKEN}
command:
- "uv"
- "run"
- "fairscape_mds/worker.py"
depends_on:
- mongo
- minio
fairscape-api:
build: "./"
# image: ghcr.io/fairscape/mds_python:RELEASE.2025-05-21.v1
env_file: "./deploy/docker_compose.env"
ports:
- 8080:8080
depends_on:
- mongo
- minio
fairscape-frontend:
image: ghcr.io/fairscape/fairscapefrontendlocal:RELEASE.2026-02-24
ports:
- "5173:80"
environment:
VITE_FAIRSCAPE_API_URL: "http://localhost:8080/api"
SEMANTIC_SEARCH_ENABLED: "false"
depends_on:
- fairscape-api
- mongo
- minio
redis:
image: redis:7.2.4
ports:
- 6379:6379
mongo:
image: mongo:8.0.0-rc20-noble
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: mongotestaccess
MONGO_INITDB_ROOT_PASSWORD: mongotestsecret
MONGO_INITDB_DATABASE: admin
ports:
- 27017:27017
command: ["mongod", "--auth"]
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_BASICAUTH_USERNAME: meadmin
ME_CONFIG_BASICAUTH_PASSWORD: meadmin
ME_CONFIG_MONGODB_ADMINUSERNAME: mongotestaccess
ME_CONFIG_MONGODB_ADMINPASSWORD: mongotestsecret
ME_CONFIG_MONGODB_URL: mongodb://mongotestaccess:mongotestsecret@mongo:27017/
links:
- mongo:mongo
minio:
image: minio/minio:latest
restart: always
ports:
- 9000:9000
- 9001:9001
environment:
MINIO_ROOT_USER: miniotestadmin
MINIO_ROOT_PASSWORD: miniotestsecret
command: server /data --console-address ":9001"