Skip to content

etherun/Parrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

  • PostgreSQL
docker run --name <pgsql-local> -e POSTGRES_PASSWORD=admin123 -p 5432:5432 postgres:latest
  • Redis
docker run --name <local-redis> -p 6379:6379 -d redis

Build Image

<project_root> $ docker build -f ./config/Dockerfile --build-arg BUILD_ENV=<dev/stage/prod> -t <docker_repo>:<1.0.0> .   

Launch Backend of Fastapi

uvicorn src:server --reload
  • --env-file=config/<stage/prod>.env, can be used to specify the config file to be start with
  • --workers=<4>, can be used to specify the process number of workers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published