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

fix: fix docker run commands with custom args #302

Merged
merged 1 commit into from
Jan 21, 2025
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 guides/operation/authentication/login-with-github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ The last bit of configuration is the session details. In order for the browser t
docker run -it --rm \
-p 8080:8080 \
-v "$(pwd)/config.yml:/config.yml" \
flipt/flipt:latest --config /config.yml
flipt/flipt:latest ./flipt --config /config.yml
```

This will mount the `config.yml` as a volume in the container, and Flipt will use that configuration as it's provided as a command line flag option.
Expand Down
2 changes: 1 addition & 1 deletion guides/operation/authentication/login-with-google.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The `8080` port is the default for Flipt's HTTP service and can be changed via t
docker run -it --rm \
-p 8080:8080 \
-v "$(pwd)/config.yml:/config.yml" \
flipt/flipt:latest --config /config.yml
flipt/flipt:latest ./flipt --config /config.yml
```

### 3. Navigate to the Flipt UI
Expand Down
2 changes: 1 addition & 1 deletion guides/operation/authentication/login-with-keycloak.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ You can now start your Flipt instance using the following command:
docker run -it --rm \
-p 8080:8080 \
-v "$(pwd)/config.yml:/config.yml" \
flipt/flipt:latest --config /config.yml
flipt/flipt:latest ./flipt --config /config.yml
```

Once Flipt has started you can to navigate your browser to the [UI](http://localhost:8081) and attempt a login with Keycloak.
Expand Down
2 changes: 1 addition & 1 deletion guides/operation/authorization/rbac-with-keycloak.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ docker run -it --rm \
-p 8080:8080 \
-v "$(pwd)/config.yml:/config.yml" \
-v "$(pwd)/policy.rego:/policy.rego" \
flipt/flipt:latest --config /config.yml
flipt/flipt:latest ./flipt --config /config.yml
```

## Testing the Policy
Expand Down
Loading