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

Docker image #129

Open
dantownsend opened this issue Nov 17, 2021 · 2 comments
Open

Docker image #129

dantownsend opened this issue Nov 17, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed proposal - input needed An idea for a new feature which requires input

Comments

@dantownsend
Copy link
Member

dantownsend commented Nov 17, 2021

It would be really cool if we had a Docker image for Piccolo Admin.

It would have environment variables such as: PG_HOST, PG_PASSWORD etc to tell it how to connect to Postgres.

To determine which tables to connect to, it would either use a config file mounted in a volume, or would accept another environment variable called PICCOLO_TABLES. For example PICCOLO_TABLES=article,post.

Since Piccolo now has powerful schema reflection abilities, we can generate the Piccolo Table classes automatically.

It would open up Piccolo admin to a much wider user base (including non-Python users).

@dantownsend dantownsend added enhancement New feature or request proposal - input needed An idea for a new feature which requires input labels Nov 17, 2021
@dantownsend dantownsend added this to To do in Enhancements via automation Nov 17, 2021
@dantownsend dantownsend added the help wanted Extra attention is needed label Nov 17, 2021
@sinisaos
Copy link
Member

@dantownsend This is a great idea because Piccolo Admin can be the admin UI for any existing Postgres database (of course the database must have columns that are supported by Piccolo ORM). I don't know anything about Docker so there won't be any help from me, but I like the idea.

@dantownsend
Copy link
Member Author

@sinisaos Yeah, I'm excited about the possibilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed proposal - input needed An idea for a new feature which requires input
Projects
Development

No branches or pull requests

2 participants