-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 59-deploying-to-dev - Added a root level .env file to allow overriding config further downstream by having a nested file structure. - Moved env/.env* to env/local/.env*, defaulting ENVIRONMENT=local - Created suitable config in env/dev for all services to bootstrap - Modified docker-compose.yml to take all configs from env files, with the ENVIRONMENT dir prefixing them. - Added some TODO's in docker-compose.yml for ops concerns (will do those later) - Changed _ to - in "trademodule_postgress" as this was the only docker service with underscores. - Changed the postgres health check so that postgress doesn't spam logs. - Updated project readme.md for deployment instructions. * 59-deploying-to-dev - Corrected readme.md --------- Co-authored-by: Dave Robertson <[email protected]>
- Loading branch information
1 parent
b408fc9
commit 6e127ae
Showing
11 changed files
with
56 additions
and
11 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
ENVIRONMENT=local |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# .env_eddn_message_listener file | ||
|
||
#eddn | ||
EDDN_URI=tcp://eddn.edcd.io:9500:9500 | ||
|
||
# kafka | ||
KAFKA_URL=edpn-backend-kafka-1:9092 |
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 @@ | ||
KAFKA_CFG_ZOOKEEPER_CONNECT=edpn-backend-zookeeper-1:2181 | ||
KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://edpn-backend-kafka-1:9092 | ||
ALLOW_PLAINTEXT_LISTENER=yes | ||
KAFKA_CFG_COMPRESSION_TYPE=gzip |
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,9 @@ | ||
# .env_boot file | ||
|
||
# kafka | ||
KAFKA_URL=edpn-backend-kafka-1:9092 | ||
|
||
# tradeModule | ||
TRADEMODULE_DB_URL=jdbc:postgresql://edpn-backend-trademodule-postgres-1:5432/trademodule | ||
TRADEMODULE_DB_USERNAME=edpn_trademodule | ||
TRADEMODULE_DB_PASSWORD=MSDVq372rNk3AwRq |
File renamed without changes.
File renamed without changes.
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 @@ | ||
KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181 | ||
KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092 | ||
ALLOW_PLAINTEXT_LISTENER=yes | ||
KAFKA_CFG_COMPRESSION_TYPE=gzip |
File renamed without changes.
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,6 @@ | ||
# .env_trademodule file | ||
|
||
# PostgreSQL | ||
POSTGRES_USER=edpn_trademodule | ||
POSTGRES_PASSWORD=MSDVq372rNk3AwRq | ||
POSTGRES_DB=trademodule |
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