Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add health check info on readme (#22)
- Loading branch information
Showing
4 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Release | ||
name: release | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Verify | ||
name: verify | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
POSTMAND_DATABASE_URL='postgres://user:pass@localhost:5432/postmand?sslmode=disable' | ||
# See https://github.com/golang-migrate/migrate/tree/master/source/file | ||
POSTMAND_DATABASE_MIGRATION_DIR='file://db/migrations' | ||
POSTMAND_DATABASE_MAX_OPEN_CONNS='2' | ||
POSTMAND_POLLING_INTERVAL='1000' | ||
POSTMAND_HTTP_PORT='8000' | ||
POSTMAND_HEALTH_CHECK_HTTP_PORT='8001' | ||
POSTMAND_DATABASE_URL='postgres://user:pass@localhost:5432/postmand?sslmode=disable' # main database | ||
POSTMAND_TEST_DATABASE_URL='postgres://user:pass@localhost:5432/postmand_test?sslmode=disable' # test database | ||
POSTMAND_DATABASE_MIGRATION_DIR='file://db/migrations' # See https://github.com/golang-migrate/migrate/tree/master/source/file | ||
POSTMAND_DATABASE_MAX_OPEN_CONNS='2' # sets the maximum number of open connections to the database | ||
POSTMAND_POLLING_INTERVAL='1000' # worker database polling interval (in miliseconds) | ||
POSTMAND_HTTP_PORT='8000' # port for the api server | ||
POSTMAND_HEALTH_CHECK_HTTP_PORT='8001' # port for health check server |