Skip to content

Commit

Permalink
Update README for Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bata committed Dec 28, 2021
1 parent 17217a0 commit 49a818a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,30 @@ optional arguments:

</details>


## Usage (Docker)

You can also use a Docker image to run optuna-dashboard.
The image only supports SQLite3, MySQL(PyMySQL), and PostgreSQL(Psycopg2).

```
# SQLite3
$ docker run -it --rm -p 8080:8080 -v `PWD`:/app ghcr.io/optuna/optuna-dashboard sqlite:///db.sqlite3
```

```
# MySQL (PyMySQL)
$ docker run -it --rm -p 8080:8080 ghcr.io/optuna/optuna-dashboard mysql+pymysql://username:password@hostname:3306/dbname
```

```
# PostgreSQL (Psycopg2)
$ docker run -it --rm -p 8080:8080 ghcr.io/optuna/optuna-dashboard postgresql+psycopg2://username:password@hostname:5432/dbname
```

https://github.com/optuna/optuna-dashboard/pkgs/container/optuna-dashboard


## Features

### Manage studies
Expand Down

0 comments on commit 49a818a

Please sign in to comment.