Skip to content

Commit

Permalink
chore: remove disable_auth from docs (#753)
Browse files Browse the repository at this point in the history
* chore: remove disable_auth from docs

Signed-off-by: Carina Ursu <[email protected]>

* chore: lint

Signed-off-by: Carina Ursu <[email protected]>

---------

Signed-off-by: Carina Ursu <[email protected]>
  • Loading branch information
ursucarina authored May 10, 2023
1 parent 29babaa commit a7d7e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@ yarn install

Your new localhost is [localhost.different.admin.service.com](http://localhost.different.admin.service.com)

> Ensure you don't have `ADMIN_API_URL` or `DISABLE_AUTH` set (e.g., in your `/.profile`.)
> Ensure you don't have `ADMIN_API_URL` set (e.g., in your `/.profile`.)
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ For help with installing dependencies look into
```
2. Now, export the following env variables:

`export ADMIN_API_URL=http://localhost:30080 export DISABLE_AUTH=1`
`export ADMIN_API_URL=http://localhost:30080`

> You can persist these environment variables either in the current shell or in a `.env` file at the root
> of the repository. A `.env` file will persist the settings across multiple terminal
Expand Down Expand Up @@ -116,12 +116,10 @@ few environment variables in your run command to setup the appliation.

`CONFIG_DIR="/etc/flyte/config"` (required)

`DISABLE_AUTH="1"` (optional)

This example assumes building from `v1.0.0` on port `8080`

```bash
docker run -p 8080:8080 -e BASE_URL="/console" -e CONFIG_DIR="/etc/flyte/config" -e DISABLE_AUTH="1" ghcr.io/flyteorg/flyteconsole:v1.0.0
docker run -p 8080:8080 -e BASE_URL="/console" -e CONFIG_DIR="/etc/flyte/config" ghcr.io/flyteorg/flyteconsole:v1.0.0
```

### Run the server
Expand Down

0 comments on commit a7d7e1c

Please sign in to comment.