Skip to content

Remove restart: always from LakeFS Docker Compose #4019

@AnzhiZhang

Description

@AnzhiZhang

Task Summary

We have a restart: always setting for the postgres container in the LakeFS Docker Compose file at file-service/src/main/resources/docker-compose.yml.

This setting will let Docker always restart the container if it stops. This is not good for developers, if they stop containers manually and restart their machine or restart the Docker daemon, this container will be started.

I suggest removing this setting, or changing it to unless-stopped and adding it to other LakeFS containers as well, in order to keep the same behavior and have a better development experience.

See also: https://docs.docker.com/engine/containers/start-containers-automatically/

Priority

P2 – Medium

Task Type

  • Code Implementation
  • Documentation
  • Refactor / Cleanup
  • Testing / QA
  • DevOps / Deployment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagePending for triaging

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions