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

Wrap it with docker #3

Open
vitonsky opened this issue Jun 16, 2024 · 3 comments
Open

Wrap it with docker #3

vitonsky opened this issue Jun 16, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@vitonsky
Copy link

Hi, it is good idea to wrap your code with docker container, to let world to try your solution.

The instructions for a docker is a modern standard of distribution for a web software.

It's pretty hard to build all the thing on my PC to just see every solution on the github, so me and lot of another people will just skip a repo with instructions "how to build" and with no instructions "how to run right here right now with docker".

@frectonz
Copy link
Owner

frectonz commented Jun 16, 2024

We do have pre built binaries available on the releases page.

We also have a version on Docker Hub but that docker image only allows you to view a sample database. It doesn't allow you to configure your own sqlite database. We will add that feature soon.

@frectonz frectonz added the enhancement New feature or request label Jun 17, 2024
@eznix86
Copy link

eznix86 commented Jun 21, 2024

Maybe, what you can do is that, you check the if there is a sqlite in a specific folder. Example you have /database folder in the project. if the the rust code find a .db file inside it will load it. It allows anyone to create a volume to this folder.

@Cufee
Copy link

Cufee commented Jun 23, 2024

It is really useful to debug things sometimes for sure. I am running this on my node alongside Tailscale, works great

services:
  sqlite-studio:
    image: frectonz/sqlite-studio:0.1.8
    command: /nix/store/84b16i4lzii52bzbdggf5b17qsarp00p-sqlite-studio-0.1.8/bin/sqlite-studio --address=0.0.0.0:3030 sqlite /mounted/${DATABASE_NAME}
    volumes:
      - ${DATABASE_PATH}:/mounted

It would be nice to have a cleaner way to do it tho, and a latest tag :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants