Skip to content

Commit

Permalink
fix: fix docker run commands with custom args (#302)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Phelps <[email protected]>
  • Loading branch information
markphelps authored Jan 21, 2025
1 parent c320d45 commit ce3c84a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit ce3c84a

Please sign in to comment.