-
In the root of the project run the following command: using postgres image, this command will create our db container
docker compose up -d
-
(in our case container name: 'postgres-bookstore-db') :
docker ps
docker exec -it postgres-bookstore-db bash
-
Now that we are connected to the container, we can connect to DB running inside
Then we can create our Database
psql -U bookstore-db-user
CREATE DATABASE bookstore;
-
Notifications
You must be signed in to change notification settings - Fork 0
amigoscode/cohort-2-d
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published