Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 808 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 808 Bytes

image

Usage

Rename the .env-example file to .env and replace the data

PG_USER = "root"
PG_USER_EMAIL = "root@root.com"
PG_PASSWORD= "root"
PG_HOST = "postgres"
PG_NAME = "test"

DATABASE_URL= "postgresql://root:root@postgres:5432/test"

AWS_URL = "3213213.aws.ru"
AWS_ACCESS_KEY_ID = "21433123"
AWS_SECRET_ACCESS_KEY = "dsfdsfsdfdsgvdfgd"

SECRET_KEY = "yv567bn4i67utyu7b43675465464565465465466564"
ALGORITHM = "HS256"

Run in terminal

docker compose up -d --build

Verify the deployment by navigating to your server address

http://localhost/docs

Ports

SERVICE PORT
nginx 80
fastapi 80 -> 7002
pgadmin 5555
postgres 5432