Unstructured-IO / Unstructured-IO/unstructured-api
Error in the default docker image when running it with MAX_LIFETIME_SECONDS
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 951
- Forks
- 192
- Avg merge
- 7d 8h
- Merged PRs (30d)
- 2
Description
Describe the bug
The container errors out when using the MAX_LIFETIME_SECONDS environment variable.
To Reproduce
Use the following docker compose file:
services:
unstructured:
image: downloads.unstructured.io/unstructured-io/unstructured-api:0.0.80
container_name: unstructured
restart: always
ports:
- 8000:8000
environment:
- UNSTRUCTURED_API_KEY=${UNSTRUCTURED_API_KEY}
- MAX_LIFETIME_SECONDS=3600
And run
docker compose up
Environment:
- Ubuntu 22.04 LTS, but it also fails in Mac OS X.
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided docker-compose configuration and run docker compose up using the unstructured-api:0.0.80 image with MAX_LIFETIME_SECONDS=3600. Trace the startup error shown in the issue and identify the image or configuration path involved; done means the default image starts successfully with that environment variable on the reported platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100