Skip to content

Commit

Permalink
fix devcontainer nats (#194)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Siwiec <rizzza@users.noreply.github.com>
  • Loading branch information
rizzza authored Jul 11, 2023
1 parent 9186ee9 commit 50e27a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
6 changes: 1 addition & 5 deletions .devcontainer/.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ COCKROACH_URL="postgresql://root@crdb:26257/load_balancer_api_dev?sslmode=disabl
# loadbalancerapi config
ATLAS_DB_URI="postgresql://root@crdb:26257/atlas_migrations?sslmode=disable"
LOADBALANCERAPI_CRDB_URI="postgresql://root@crdb:26257/load_balancer_api_dev?sslmode=disable"
LOADBALANCERAPI_NATS_CREDS_FILE=".devcontainer/nsc/nkeys/creds/LOCAL/LBAAS/USER.creds"
LOADBALANCERAPI_NATS_URL="nats://nats:4222"

NATS_URL="nats://nats:4222"
NATS_CREDS="/tmp/user.creds"
LOADBALANCERAPI_EVENTS_PUBLISHER_NATS_CREDSFILE="/workspaces/load-balancer-api/.devcontainer/nsc/nkeys/creds/LOCAL/LBAAS/USER.creds"

NKEYS_PATH="/workspaces/load-balancer-api/.devcontainer/nsc/nkeys"
NSC_HOME="/workspaces/load-balancer-api/.devcontainer/nsc/nats"
Expand Down
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,5 @@
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"postStartCommand": "/workspaces/${localWorkspaceFolderBasename}/.devcontainer/scripts/nats_account.sh"
}
}
13 changes: 0 additions & 13 deletions .devcontainer/scripts/nats_account.sh

This file was deleted.

0 comments on commit 50e27a3

Please sign in to comment.