Skip to content

Commit

Permalink
Merge branch 'main' into fix/deployer-error-handling-2
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianbarbu authored Sep 26, 2023
2 parents 1b829b2 + e78f6c7 commit 6d091e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Make sure an admin user is inserted into auth and that the key is used by cargo-
We're now ready to start a local run of the deployer:

```bash
OTLP_ADDRESS=http://127.0.0.1:4317 cargo run -p shuttle-deployer -- --provisioner-address http://localhost:3000 --auth-uri http://localhost:8008 --resource-recorder http://localhost:8007 --logger-uri http://localhost:8080 --builder-uri http://localhost:8009 --proxy-fqdn local.rs --admin-secret dh9z58jttoes3qvt --local --project-id "01H7WHDK23XYGSESCBG6XWJ1V0" --project <name>
OTLP_ADDRESS=http://127.0.0.1:4317 cargo run -p shuttle-deployer -- --provisioner-address http://localhost:3000 --auth-uri http://localhost:8008 --resource-recorder http://localhost:8007 --builder-uri http://localhost:8009 --logger-uri http://localhost:8010 --proxy-fqdn local.rs --admin-secret dh9z58jttoes3qvt --local --project-id "01H7WHDK23XYGSESCBG6XWJ1V0" --project <name>
```

The `<name>` needs to match the name of the project that will be deployed to this deployer.
Expand Down
2 changes: 1 addition & 1 deletion deployer/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub struct Args {
pub admin_secret: String,

/// Address to reach the authentication service at
#[clap(long, default_value = "http://127.0.0.1:8008")]
#[clap(long, default_value = "http://auth:8000")]
pub auth_uri: Uri,

/// Address to reach the builder service at
Expand Down
6 changes: 2 additions & 4 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ services:
>&2 echo "The control DB is available - starting shuttle-resource-recorder"
exec /usr/local/bin/service "$${@:0}"
auth-dev:
ports:
- 8006:8000
auth:
depends_on:
- control-db
entrypoint:
Expand All @@ -74,7 +72,7 @@ services:
- panamax
logger:
ports:
- 8080:8000
- 8010:8000
depends_on:
- auth
- logger-postgres
Expand Down

0 comments on commit 6d091e7

Please sign in to comment.