Compare commits
3 commits
1641912e55
...
ec4491021b
Author | SHA1 | Date | |
---|---|---|---|
ec4491021b | |||
270bebb8c0 | |||
fd4dc13db6 |
3 changed files with 26 additions and 0 deletions
4
.dockerignore
Normal file
4
.dockerignore
Normal file
|
@ -0,0 +1,4 @@
|
|||
__pycache__
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.egg-info
|
20
.env
Normal file
20
.env
Normal file
|
@ -0,0 +1,20 @@
|
|||
# PostgreSQL database host
|
||||
POSTGRES_HOST=products_db
|
||||
|
||||
# PostgreSQL database user
|
||||
POSTGRES_USER=username
|
||||
|
||||
# PostgreSQL database password
|
||||
POSTGRES_PASSWORD=password
|
||||
|
||||
# PostgreSQL database name
|
||||
POSTGRES_DATABASE=database
|
||||
|
||||
# PostgreSQL database port
|
||||
POSTGRES_PORT=5432
|
||||
|
||||
# Asynchronous database URI for connecting to PostgreSQL
|
||||
ASYNC_DATABASE_URI=postgresql+asyncpg://username:password@products_db:5432/database
|
||||
|
||||
# Name of the project or application
|
||||
PROJECT_NAME=Product Listings
|
|
@ -3,9 +3,11 @@
|
|||
# Commands
|
||||
|
||||
`alias pps="podman container ps -a"`
|
||||
|
||||
`alias pre="podman-compose down && podman-compose up -d"`
|
||||
|
||||
`podman-compose up`
|
||||
|
||||
`podman-compose down`
|
||||
|
||||
# Dockerfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue