add bind ips
This commit is contained in:
@@ -7,7 +7,7 @@ services:
|
||||
network_mode: host
|
||||
env_file:
|
||||
- .env
|
||||
command: ["python", "-m", "uvicorn", "sentence_api.main:app", "--host", "127.0.0.1", "--port", "8000", "--workers", "1", "--proxy-headers", "--forwarded-allow-ips", "*"]
|
||||
command: ["python", "-m", "uvicorn", "sentence_api.main:app", "--host", "${ORAL_TRAINER_BIND_HOST:-127.0.0.1}", "--port", "8000", "--workers", "1", "--proxy-headers", "--forwarded-allow-ips", "*"]
|
||||
volumes:
|
||||
- ./data:/app/sentence_api/data
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user