mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-04 03:31:29 +08:00
chore: use different ports in example docker-compose files
Avoid port conflicts when running multiple examples: - dirty_example: 8001 - embedding_service: 8002 - celery_alternative: 8003
This commit is contained in:
parent
68ce658f5d
commit
6d691b30e1
@ -15,7 +15,7 @@ services:
|
||||
context: ../.. # Gunicorn repo root
|
||||
dockerfile: examples/celery_alternative/Dockerfile
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8003:8000"
|
||||
environment:
|
||||
- GUNICORN_WORKERS=4
|
||||
- DIRTY_WORKERS=9
|
||||
|
||||
@ -4,7 +4,7 @@ services:
|
||||
context: ../..
|
||||
dockerfile: examples/embedding_service/Dockerfile
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8002:8000"
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=5)"]
|
||||
interval: 10s
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user