Skip to content

Commit

Permalink
use internal pg instead of dev db
Browse files Browse the repository at this point in the history
  • Loading branch information
alecsavvy committed Dec 26, 2024
1 parent 58d35bb commit b588087
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ bin/core-amd64: $(BUILD_SRCS)

.PHONY: core-dev
core-dev: gen
audius-compose up db core core-content-1 core-content-2 core-content-3 eth-ganache ingress
audius-compose up core core-content-1 core-content-2 core-content-3 eth-ganache ingress

.PHONY: core-test
core-test: gen
Expand Down
2 changes: 1 addition & 1 deletion cmd/core/infra/dev_config/content-one.docker.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
audius_core_root_dir=./tmp/content1Home
delegatePrivateKey=21118f9a6de181061a2abd549511105adb4877cf9026f271092e6813b7cf58ab
MEDIORUM_ENV=dev
dbUrl=postgres://postgres:postgres@db:5432/creator_node_1?sslmode=disable
dbUrl=postgres://postgres:postgres@localhost:5432/creator_node_1?sslmode=disable
creatorNodeEndpoint=http://audius-protocol-creator-node-1
runDownMigration="true"
rpcLaddr="tcp://0.0.0.0:26657"
Expand Down
2 changes: 1 addition & 1 deletion cmd/core/infra/dev_config/content-three.docker.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
audius_core_root_dir=./tmp/content3Home
delegatePrivateKey=1aa14c63d481dcc1185a654eb52c9c0749d07ac8f30ef17d45c3c391d9bf68eb
MEDIORUM_ENV=dev
dbUrl=postgres://postgres:postgres@db:5432/creator_node_3?sslmode=disable
dbUrl=postgres://postgres:postgres@localhost:5432/creator_node_3?sslmode=disable
creatorNodeEndpoint=http://audius-protocol-creator-node-3
runDownMigration="true"
rpcLaddr="tcp://0.0.0.0:26657"
Expand Down
2 changes: 1 addition & 1 deletion cmd/core/infra/dev_config/content-two.docker.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
audius_core_root_dir=./tmp/content2Home
delegatePrivateKey=1166189cdf129cdcb011f2ad0e5be24f967f7b7026d162d7c36073b12020b61c
MEDIORUM_ENV=dev
dbUrl=postgres://postgres:postgres@db:5432/creator_node_2?sslmode=disable
dbUrl=postgres://postgres:postgres@localhost:5432/creator_node_2?sslmode=disable
creatorNodeEndpoint=http://audius-protocol-creator-node-2
runDownMigration="true"
rpcLaddr="tcp://0.0.0.0:26657"
Expand Down
2 changes: 1 addition & 1 deletion cmd/core/infra/dev_config/discovery-one.docker.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
audius_core_root_dir=./tmp/discoveryOneHome
audius_delegate_private_key=d09ba371c359f10f22ccda12fd26c598c7921bda3220c9942174562bc6a36fe8
audius_discprov_env=dev
audius_db_url=postgres://postgres:postgres@db:5432/discovery_provider_1?sslmode=disable
audius_db_url=postgres://postgres:postgres@localhost:5432/audius_discovery?sslmode=disable
audius_discprov_url=http://audius-protocol-discovery-provider-1
runDownMigration="true"
rpcLaddr="tcp://0.0.0.0:26657"
Expand Down
8 changes: 4 additions & 4 deletions dev-tools/compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ services:
container_name: core-discovery-1
ports:
- '6611:26659' # Http Console
- '6612:26657' # CometBFT RPC Server
- '6613:50051' # Core GRPC Server
- '6614:5432' # Postgres
env_file:
- ${PROJECT_ROOT}/cmd/core/infra/dev_config/discovery-one.docker.env
<<: *common
Expand All @@ -89,8 +89,8 @@ services:
container_name: core-content-1
ports:
- '6711:26659'
- '6712:26657'
- '6713:50051'
- '6714:5432'
env_file:
- ${PROJECT_ROOT}/cmd/core/infra/dev_config/content-one.docker.env
<<: *common
Expand All @@ -102,8 +102,8 @@ services:
container_name: core-content-2
ports:
- '6721:26659'
- '6722:26657'
- '6723:50051'
- '6724:5432'
env_file:
- ${PROJECT_ROOT}/cmd/core/infra/dev_config/content-two.docker.env
<<: *common
Expand All @@ -115,8 +115,8 @@ services:
container_name: core-content-3
ports:
- '6731:26659'
- '6732:26657'
- '6733:50051'
- '6734:5432'
env_file:
- ${PROJECT_ROOT}/cmd/core/infra/dev_config/content-three.docker.env
<<: *common
Expand Down

0 comments on commit b588087

Please sign in to comment.