- Make a copy of
.env.example
file and rename it todev.env
- Run
docker-compose -f docker-compose-dev.yml up -d
- Run
docker-compose -f docker-compose-dev.yml exec api alembic upgrade head
to run all migrations - Go to
localhost:8001/docs
- Make a copy of
.env.example
file and rename it toprod.env
- Fill all needed ENV variables inside
prod.env
with your values - Run
docker-compose -f docker-compose.yml up -d
- Run
docker-compose -f docker-compose.yml exec api alembic upgrade head
to run all migrations - Set up proxy_rules using any proxy server
- Go to
your_vps_ip/docs