Skip to content

Conversation

wfangchi
Copy link
Collaborator

@wfangchi wfangchi commented May 4, 2023

The postgres image has a Volume item pointing to /var/lib/postgresql/data. If we don't explicitly bind this path, a volume will be automatically created by docker. And it will be destroyed after docker-compose down, causing data loss.

To address that, we explicitly use a host folder to bind to this path.

…r-compose deployment

The postgres image has a Volume item pointing to `/var/lib/postgresql/data`. If we don't explicitly bind this path, a volume will be automatically created by docker. And it will be destroyed after `docker-compose down`, causing data loss.

To address that, we explicitly use a host folder to bind to this path.

Signed-off-by: Fangchi Wang <wfangchi@vmware.com>
@wfangchi wfangchi requested a review from owlet42 May 4, 2023 02:05
@wfangchi wfangchi self-assigned this May 4, 2023
@owlet42 owlet42 merged commit aeaf1de into FederatedAI:develop-0.3.0 May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants