-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove configer and original config dependencies
Previously, this was using quite a complex config solution with Viper, which is a relatively stale package with a lot of old dependencies. Nowadays, in a containerized environment, only using environment variables is pretty much production-ready for configs, let alone for this personal project. This change removes all the old configuration solution and its dependencies, in favour of simply reading some env vars instead.
- Loading branch information
Showing
11 changed files
with
85 additions
and
562 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 |
---|---|---|
|
@@ -26,6 +26,5 @@ casheer.e2e.db | |
default.json | ||
|
||
account-statement* | ||
configs/config.yml | ||
|
||
/*.db |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CASHEER_SERVER_SCHEME=http | ||
CASHEER_SERVER_ADDRESS=0.0.0.0 | ||
CASHEER_SERVER_PORT=8033 | ||
CASHEER_SQLITE_FILE=/externaldeps/casheer.db |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CASHEER_SERVER_SCHEME=http | ||
CASHEER_SERVER_ADDRESS=0.0.0.0 | ||
CASHEER_SERVER_PORT=6597 | ||
CASHEER_SQLITE_FILE=/externaldeps/casheer.db |
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
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
Oops, something went wrong.