Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# The application reads configuration from real environment variables (it does
# NOT load this file at runtime). This file documents them and is read by the
# sqlx compile-time macros / sqlx-cli at build time (which look up DATABASE_URL).
# For local runs, export these (e.g. `set -a; . ./.env; set +a`) or pass them in.

# Connection string used by the sqlx macros and sqlx-cli at build time.
DATABASE_URL=postgres://postgres:postgres@localhost:5432/accounting
# Connection string read by the application at runtime (see src/main.rs).
POSTGRESQL_ADDON_URI=postgres://postgres:postgres@localhost:5432/accounting

# Server bind address (optional; defaults shown).
HOST=0.0.0.0
PORT=3000

RUST_LOG=info,accounting_api=debug

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading