Before Running:
bash
export DATABASE_PASSWORD=fridge
Then run:
bash
docker compose up
Default environment variables per level:
| variables | application | docker compose | My env or .env | |-------------------|-------------|--------------------|----------------| | DATABASEADDR | db | db | localhost | | DATABASENAME | postgres | postgres | | | DATABASEUSERNAME | postgres | postgres | fridge | | DATABASEPASSWORD | | | fridge | | WEBAPPHOST | 0.0.0.0 | | 127.0.0.1 | | WEBAPPPORT | 80 | | 8000 | | RUSTLOG | | smartfridge=debug | |
Build and open the doc in your browser
bash
cargo doc --open