Skip to content

Commit 8fa301b

Browse files
committed
chore: update docker-compose to use concrete build paths (server, server/djangoapp/microservices)
1 parent 9b92d57 commit 8fa301b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docker-compose.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,20 @@ services:
1919
- "3000:3000"
2020

2121
sentiment:
22-
# Placeholder service: si no tienes una imagen, puedes usar una imagen simple
23-
# que devuelva {"sentiment":"neutral"} en /analyze/:text. Reemplaza con tu imagen.
22+
# Placeholder image; replace with your sentiment service image or build path
2423
image: your-sentiment-image-or-placeholder
24+
# If you have a local Dockerfile for sentiment, replace the image line with:
25+
# build: ./server/djangoapp/microservices/sentiment
2526
ports:
2627
- "8080:8080"
2728

2829
django:
29-
build: .
30+
build: ./server/djangoapp/microservices
3031
command: >
3132
sh -c "python manage.py migrate --noinput &&
3233
python manage.py runserver 0.0.0.0:8000"
3334
volumes:
34-
- .:/app:cached
35+
- ./server/djangoapp/microservices:/app:cached
3536
environment:
3637
- DJANGO_SETTINGS_MODULE=project.settings
3738
- DEALERS_SERVICE_URL=http://express-service:3000

0 commit comments

Comments
 (0)