tanishqgandhi1908 opened a new pull request, #5752:
URL: https://github.com/apache/texera/pull/5752
### What changes were proposed in this PR?
This PR updates the single-node Docker Compose restart policy for
long-running services from `always` to `unless-stopped`.
This keeps automatic restart behavior for service stability, while
preventing containers from automatically restarting after a user explicitly
stops them.
One-shot jobs that already use `restart: "no"` are unchanged.
### Any related issues, documentation, discussions?
Closes #4039
### How was this PR tested?
Manually ran:
```bash
docker compose -f bin/single-node/docker-compose.yml up -d --force-recreate
```
Verified the updated restart policy:
```bash
docker inspect texera-postgres texera-lakefs dashboard-service litellm \
--format '{{.Name}} {{.HostConfig.RestartPolicy.Name}}'
```
Confirmed the long-running services use unless-stopped.
Also ran:
```bash
docker compose -f bin/single-node/docker-compose.yml config --quiet
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]