11services :
22 postgres :
3+ container_name : wp-postgres
34 image : postgres:16-alpine
45 environment :
56 POSTGRES_DB : website_profiling
@@ -16,6 +17,7 @@ services:
1617 # FastAPI backend — now its own service (was bundled into `web`). Network-internal:
1718 # only the BFF talks to it, so no host port is published.
1819 fastapi :
20+ container_name : wp-fastapi
1921 build :
2022 context : .
2123 dockerfile : Dockerfile
@@ -45,12 +47,10 @@ services:
4547 retries : 3
4648 start_period : 20s
4749
48- # Pipeline worker runs inside ReportService (C# BackgroundService).
49- # Python is invoked only as a subprocess for crawl/lighthouse CLI steps.
50-
5150 # .NET read microservice — reads Postgres directly, incrementally replacing FastAPI reads.
5251 # Internal: only the BFF reaches it (no published host port).
5352 data :
53+ container_name : wp-data
5454 build :
5555 context : ./services
5656 dockerfile : Data/Dockerfile
@@ -68,6 +68,7 @@ services:
6868 start_period : 15s
6969
7070 ai :
71+ container_name : wp-ai
7172 build :
7273 context : ./services
7374 dockerfile : AiService/Dockerfile
@@ -89,6 +90,7 @@ services:
8990 start_period : 20s
9091
9192 integrations :
93+ container_name : wp-integrations
9294 build :
9395 context : ./services
9496 dockerfile : IntegrationsService/Dockerfile
@@ -113,19 +115,17 @@ services:
113115 start_period : 20s
114116
115117 report :
118+ container_name : wp-report
116119 build :
117- context : ./services
118- dockerfile : ReportService/Dockerfile
120+ context : .
121+ dockerfile : services/ ReportService/Dockerfile
119122 environment :
120123 DATABASE_URL : postgres://profiling:profiling@postgres:5432/website_profiling
121124 ASPNETCORE_URLS : http://+:8094
122125 FASTAPI_URL : http://fastapi:8001
123126 INTEGRATIONS_SERVICE_URL : http://integrations:8093
124127 REPORT_SERVICE_USE_PYTHON_BRIDGE : " 0"
125128 USE_FASTAPI_PYTHON_BRIDGE : " 1"
126- WEBSITE_PROFILING_ROOT : /app
127- PYTHON : /opt/venv/bin/python
128- DATA_DIR : /data
129129 REPORT_SERVICE_WORKER_ENABLED : " 1"
130130 depends_on :
131131 postgres :
@@ -142,6 +142,7 @@ services:
142142 start_period : 20s
143143
144144 config :
145+ container_name : wp-config
145146 build :
146147 context : .
147148 dockerfile : services/ConfigService/Dockerfile
@@ -161,6 +162,7 @@ services:
161162
162163 # .NET BFF — the single browser-facing API surface (owns auth + CORS).
163164 bff :
165+ container_name : wp-bff
164166 build :
165167 context : ./services/Bff
166168 ports :
@@ -198,6 +200,7 @@ services:
198200
199201 # Vite SPA (nginx). The browser calls the BFF (:8090) for all /api/*.
200202 web :
203+ container_name : wp-web
201204 build :
202205 context : ./web
203206 args :
@@ -216,6 +219,7 @@ services:
216219
217220 # File export service (PDF/Excel). Internal: only the BFF reaches it.
218221 files :
222+ container_name : wp-files
219223 build :
220224 context : ./services
221225 dockerfile : FileService/Dockerfile
0 commit comments