-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refac: change `go.mod` module url * refac: refactor Dockerfile.consumer.prod refactor Dockerfile.consumer.prod to use ENV variables for Redis and Postgres connection * fix: fix github imports * refac: use ENV variables in `consumer.go` * refac: replace all ArtPeaceBackend with AFKBackend * refac: remove unused database configs * feat: add .env.example * feat: load env variables * chore: update README * feat: use ENV variables in Dockerfile * feat: use ENV variables in Dockerfile.consumer * feat: use ENV variables in Dockerfile.prod * fix: xix backend Golang * refac: modify consumer.go * refac: move production mode to env
- Loading branch information
1 parent
06b407f
commit eae6c49
Showing
12 changed files
with
176 additions
and
119 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,6 +1,16 @@ | ||
REDIS_HOST=localhost | ||
REDIS_PORT=6379 | ||
|
||
POSTGRES_HOST=localhost | ||
POSTGRES_PORT=5432 | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=postgres | ||
POSTGRES_DATABASE=postgres | ||
|
||
BACKEND_HOST=localhost | ||
BACKEND_PORT=8082 | ||
CONSUMER_PORT=8081 | ||
|
||
PRODUCTION=false | ||
|
||
BACKEND_URL=https://backend-pixel.onrender.com/ |
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
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
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.