Skip to content

Commit

Permalink
feat: configs env with multiple env
Browse files Browse the repository at this point in the history
  • Loading branch information
jayden-dang committed Jun 24, 2024
1 parent b26649e commit 029db8b
Show file tree
Hide file tree
Showing 6 changed files with 337 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
APP.POSTGRES.DSN=postgres://postgres:password@localhost:5432/postgres
APP.POSTGRES.MAX_CONNS=5
APP.WEB.ADDR=0.0.0.0:8080

APP.DEVPOSTGRES.DSN=postgres://postgres:password@localhost:5432/postgres
APP.DEVPOSTGRES.MAX_CONNS=5
APP.DEVWEB.ADDR=0.0.0.0:3333
Loading

0 comments on commit 029db8b

Please sign in to comment.