-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
400 additions
and
827 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
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 |
---|---|---|
|
@@ -38,9 +38,9 @@ The postgres URL setting is defined with `env://BOUNDARY_POSTGRES_URL` so it can | |
|
||
```bash | ||
docker run \ | ||
--network host \ | ||
-e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:[email protected]:5432/postgres?sslmode=disable' \ | ||
hashicorp/boundary | ||
--network host | ||
-e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:[email protected]:5432/postgres?sslmode=disable' | ||
boundary | ||
``` | ||
|
||
### Database Init | ||
|
@@ -53,7 +53,7 @@ initialize the database using the default `config.hcl`: | |
docker run \ | ||
--network host \ | ||
-e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:[email protected]:5432/postgres?sslmode=disable' \ | ||
hashicorp/boundary database init -config /boundary/config.hcl | ||
boundary database init -config /boundary/config.hcl | ||
``` | ||
|
||
If you want to run this with your own `config.hcl` (assuming `config.hcl` is located at `$(pwd)/config.hcl`): | ||
|
@@ -63,7 +63,7 @@ docker run \ | |
--network host \ | ||
-e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:[email protected]:5432/postgres?sslmode=disable' \ | ||
-v "$(pwd)":/boundary/ \ | ||
hashicorp/boundary database init -config /boundary/config.hcl | ||
boundary database init -config /boundary/config.hcl | ||
``` | ||
|
||
### Database Migration | ||
|
@@ -76,7 +76,7 @@ you will need to apply the database migrations: | |
docker run \ | ||
--network host \ | ||
-e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:[email protected]:5432/postgres?sslmode=disable' \ | ||
hashicorp/boundary database migrate -config /boundary/config.hcl | ||
boundary database migrate -config /boundary/config.hcl | ||
``` | ||
|
||
If you want to run this with your own `config.hcl` (assuming `config.hcl` is located at `$(pwd)/config.hcl`): | ||
|
@@ -86,7 +86,7 @@ docker run \ | |
--network host \ | ||
-e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:[email protected]:5432/postgres?sslmode=disable' \ | ||
-v "$(pwd)":/boundary/ \ | ||
hashicorp/boundary database migrate -config /boundary/config.hcl | ||
boundary database migrate -config /boundary/config.hcl | ||
``` | ||
|
||
### Server | ||
|
@@ -100,7 +100,7 @@ docker run \ | |
-p 9201:9201 \ | ||
-p 9202:9202 \ | ||
-e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:[email protected]:5432/postgres?sslmode=disable' \ | ||
hashicorp/boundary | ||
boundary | ||
``` | ||
|
||
Start a Boundary server using your own `config.hcl`, assuming it's located at `$(pwd)/config.hcl`: | ||
|
@@ -113,5 +113,5 @@ docker run \ | |
-p 9202:9202 \ | ||
-v "$(pwd)":/boundary/ \ | ||
-e 'BOUNDARY_POSTGRES_URL=postgresql://postgres:[email protected]:5432/postgres?sslmode=disable' \ | ||
hashicorp/boundary | ||
boundary | ||
``` |
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.