-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from kindredgroup/feature/refactor
Feature/refactor
- Loading branch information
Showing
39 changed files
with
1,879 additions
and
1,187 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,31 @@ | ||
# WHEN DEVELOPING LOCALLY, WE NEED TO ACCESS THE HOST NETWORK FROM K8S (FOR POSTGRES/KAFKA/ELASTIC/ETC) | ||
# LOCAL_HOST_IP=$(ifconfig en0 | grep inet | grep -v inet6 | awk '{print $2}') | ||
|
||
# RUST version | ||
RUST_VERSION=stable | ||
|
||
# KAFKA | ||
# KAFKA_BROKERS="localhost:9093\,$LOCAL_HOST_IP:9094" | ||
KAFKA_BROKERS="localhost:9092" | ||
KAFKA_CLIENT_ID="chronos" | ||
KAFKA_GROUP_ID="chronos" | ||
KAFKA_IN_TOPIC="chronos.in" | ||
KAFKA_OUT_TOPIC="chronos.out" | ||
KAFKA_USERNAME= | ||
KAFKA_PASSWORD= | ||
|
||
# POSTGRES | ||
# NB: `node-postgres` AND `node-pg-migrate` USE THE SAME ENVIRONMENT VARIABLES AS `libpq` TO CONNECT TO A POSTGRESQL SERVER | ||
# NODE_PG_FORCE_NATIVE=1 | ||
PG_HOST=localhost | ||
PG_PORT=5432 | ||
PG_USER=postgres | ||
PG_PASSWORD=admin | ||
PG_DATABASE=chronos | ||
PG_POOL_SIZE=50 | ||
ADMIN_PG_USER=postgres | ||
ADMIN_PG_PASSWORD=admin | ||
ADMIN_PG_DATABASE=postgres | ||
|
||
# CONFIG | ||
RUST_LOG=info |
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,31 @@ | ||
# WHEN DEVELOPING LOCALLY, WE NEED TO ACCESS THE HOST NETWORK FROM K8S (FOR POSTGRES/KAFKA/ELASTIC/ETC) | ||
LOCAL_HOST_IP=$(ifconfig en0 | grep inet | grep -v inet6 | awk '{print $2}') | ||
|
||
# RUST version | ||
RUST_VERSION=stable | ||
|
||
# KAFKA | ||
# KAFKA_BROKERS="localhost:9093\,$LOCAL_HOST_IP:9094" | ||
KAFKA_BROKERS="localhost:9093" | ||
KAFKA_CLIENT_ID="chronos" | ||
KAFKA_GROUP_ID="chronos" | ||
KAFKA_IN_TOPIC="chronos.in" | ||
KAFKA_OUT_TOPIC="chronos.out" | ||
KAFKA_USERNAME= | ||
KAFKA_PASSWORD= | ||
|
||
# POSTGRES | ||
# NB: `node-postgres` AND `node-pg-migrate` USE THE SAME ENVIRONMENT VARIABLES AS `libpq` TO CONNECT TO A POSTGRESQL SERVER | ||
# NODE_PG_FORCE_NATIVE=1 | ||
PG_HOST=$LOCAL_HOST_IP | ||
PG_PORT=5432 | ||
PG_USER=admin | ||
PG_PASSWORD=admin | ||
PG_DATABASE=talos_certifier | ||
PG_POOL_SIZE=50 | ||
ADMIN_PG_USER=admin | ||
ADMIN_PG_PASSWORD=admin | ||
ADMIN_PG_DATABASE=postgres | ||
|
||
# CONFIG | ||
RUST_LOG=debug |
Oops, something went wrong.