Skip to content

Commit

Permalink
build(docker): Change default provisioner port to 3000
Browse files Browse the repository at this point in the history
On MacOs, port 5000 is used by AirPlay receiver which will make the 'make up' command described in CONTRIBUTING.md fail for Mac users
  • Loading branch information
morlinbrot committed May 4, 2023
1 parent a59216c commit 859ad0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ cargo shuttle login --api-key test-key
We're now ready to start a local run of the deployer:

```bash
cargo run -p shuttle-deployer -- --provisioner-address http://localhost:5000 --auth-uri http://localhost:8008 --proxy-fqdn local.rs --admin-secret test-key --local --project <project_name>
cargo run -p shuttle-deployer -- --provisioner-address http://localhost:3000 --auth-uri http://localhost:8008 --proxy-fqdn local.rs --admin-secret test-key --local --project <project_name>
```

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

/// Address to connect to the provisioning service
#[clap(long, default_value = "http://provisioner:5000")]
#[clap(long, default_value = "http://provisioner:3000")]
pub provisioner_address: Endpoint,

/// FQDN where the proxy can be reached at
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ services:
exec /usr/local/bin/service "$${@:0}"
ports:
- 5000:8000
- 3000:8000
panamax:
profiles:
- panamax
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/alpha/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct Args {
pub port: u16,

/// Address to reach provisioner at
#[arg(long, default_value = "http://localhost:5000")]
#[arg(long, default_value = "http://localhost:3000")]
pub provisioner_address: Endpoint,

/// Type of storage manager to start
Expand Down

0 comments on commit 859ad0e

Please sign in to comment.