Skip to content

Check if database is persisting when using docker-compose  #3

@aileenzeng

Description

@aileenzeng

So far it's been fine for this:

docker kill <container-name>
docker-compose up -d db

Killing the container doesn't get rid of the database. I think if the container was removed, then the database would go away too. It seems like it's fine to keep the container running in the background.

Tests

1. What happens after completely removing the docker container?

The database gets wiped :(

2. Can we write to the database? (Probably will need to do this in interactive mode) Will entries stay after we restart the container?

As long as the container doesn't get removed!

3. Is it possible to hook up Valentina Studio (or another client)?

--> Seems like yes. Here are the settings

Connection Method: Standard TCP/IP
Host: localhost
Database: sidewalk
User: sidewalk
Password: sidewalk
Port: 5432

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions