Compare commits

...

3 commits

Author SHA1 Message Date
wop ec4491021b
ADD .dockerignore 2024-09-26 02:56:31 +02:00
wop 270bebb8c0
ADD .env 2024-09-26 02:56:20 +02:00
wop fd4dc13db6
fix format of commands 2024-09-26 02:55:30 +02:00
3 changed files with 26 additions and 0 deletions

4
.dockerignore Normal file
View file

@ -0,0 +1,4 @@
__pycache__
*.pyc
*.pyo
*.egg-info

20
.env Normal file
View 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

View file

@ -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