Skip to content

Commit

Permalink
chore: add docs on how to run the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
frectonz committed Oct 20, 2024
1 parent 26286ce commit f37ef5b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ sql-studio-update
nix shell github:frectonz/sql-studio
```

## Docker

A Docker image of SQL Studio is available on [Docker Hub](https://hub.docker.com/r/frectonz/sql-studio). The following is an example of how to run SQL Studio with the Postgres driver on port `3030`.

```bash
docker run -p 3030:3030 frectonz/sql-studio /bin/sql-studio \
--no-browser \
--no-shutdown \
--address=0.0.0.0:3030 \
postgres \
postgres://localhost:5432/
```

## Contributing

Before executing `cargo run` you need to build the UI because the rust app statically embedded the UI files in the binary.
Expand Down

0 comments on commit f37ef5b

Please sign in to comment.