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

Docs on running Esquio UI in Docker #124

Closed
jmezach opened this issue May 12, 2020 · 2 comments · Fixed by #126
Closed

Docs on running Esquio UI in Docker #124

jmezach opened this issue May 12, 2020 · 2 comments · Fixed by #126
Assignees
Labels
Documentation enhancement New feature or request
Milestone

Comments

@jmezach
Copy link

jmezach commented May 12, 2020

Are there any docs yet on how to run the Esquio UI in Docker? I can start it just fine, but I'm not able to login, probably because there's no database configured. Not sure how to configure that though, or even what my options are storing the database?

@unaizorrilla
Copy link
Collaborator

Hi @jmezach

There are some environment variables to configure

-e ConnectionStrings__Esquio=[your sql server connection string]
-e Security__OpenId__Authority=[your authority, for example https://demo.identityserver.io]
-e Security__OpenId__ClientId=[your client id]
-e Security__OpenId__ResponseType=[your openid flow response type to use, for example code]
-e Security__OpenId__Audience=[your security audience]

You can check the settings that we use on demo

https://github.com/Xabaril/Esquio/blob/master/src/Esquio.UI.Host/appsettings.json

Also, if you want to tests Esquio on local, you can do directly with our compose

docker-compose -f .\build\docker-compose-demo-with-ui.yml up

This build and up the demo app and the Esquio UI with dependencies ( sqlserver ) to easly test Esquio.

I hope @carlosrecuero can add docker information to our docs soon!

@jmezach
Copy link
Author

jmezach commented May 14, 2020

Thanks @unaizorrilla, that helped. I've managed to run Esquio UI with docker-compose locally and it works great. Definitely a good idea to add this to the docs so that people can get started quickly.

@carlosrecuero carlosrecuero linked a pull request May 16, 2020 that will close this issue
@unaizorrilla unaizorrilla added the enhancement New feature or request label May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants