Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(docker): Change default provisioner port to 3000 #852

Merged
merged 1 commit into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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