-
-
Notifications
You must be signed in to change notification settings - Fork 959
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: clarify required variables for starting Kratos #352
Comments
Could you please provide the server logs? I am asking because it is possible to run Kratos without a configuration file, but you still need to provide the required configuration values via env vars.
Heroku will probably not be sufficient as it does not have (afaik) the ability to expose a port only on an internal / privileged network or alternatively with a security system in front, which is required for ORY Kratos' Admin API Port. |
Ok with heroku, I''ll try another service, If i run this on my local computer I get this. Could you please help me with setting up on my local @aeneasr? These are the heroku logs On my local computer I've cloned the repo and build the image with PS: I've made it work, just entered all the requried config variables as ENV variables. |
Perfect! I'll be closing this then, yes? |
Hi @aeneasr, I think that at least you should update the docs before closing the issue, so people understand that tweaking the .kratos.yaml is a must, or at least setting up the ENV variables, which is not very clear on the docs and how to do so. But for me everything is ok. Thanks. |
Yup, makes sense! |
If it helps @aeneasr COURIER_SMTP_CONNECTION_URI
smtps://foo:bar@my-mailserver:1234/
DATABASE_URL
postgres://xxx:yyy@zzz:ttt/uuu
HASHERS_ARGON2_MEMORY
11883317
IDENTITY_TRAITS_DEFAULT_SCHEMA_URL
http://WBwVKWvcJYnRFLOpuTSaootvh.bwCxwHzemclRM,p2bR9wN.avr4J5iwFryiF
SELFSERVICE_LOGOUT_REDIRECT_TO
http://TPNXSkIbeASVeSLyyRTbVjdkX.ygfeQk8llwnWZ+NeenrZJJHgd8BAoqaQ5iHO9BW-DeqlXBuYKVlL0ijQpJw9Q
HASHERS_ARGON2_ITERATIONS
21236220
HASHERS_ARGON2_PARALLELISM
71551855
HASHERS_ARGON2_SALT_LENGTH
80719037
HASHERS_ARGON2_KEY_LENGTH
86477135
URLS_PROFILE_UI
http://BMvdJD.oumrvPl+.YTtiPL6I21HYzlRsoTW-Dd1-lDUCJltAHcth.+eggbpCfQvWY.YSS3i
URLS_MFA_UI
http://jJAIvAwZyxLFzQjBYtcGhLGuzwudpru.dbF.OeGVZf-fC
URLS_LOGIN_UI
http://bC.dsmw,wLBWDeODw.jzOSI
URLS_REGISTRATION_UI
http://aFuZJoeUxZWbuTpHLFZvK.gxlPs3in99K,qmGgreVGQFtdAJbjtOmf4,oaXujXoOfC9
URLS_ERROR_UI
http://XyOnfsMVwIYMBlWKnkCPLOEjjM.czcUWzDof8Yf3EfshOx2zlNKWInKZLdpwX6P+UoqMabq6j7wR2Wpgx+zXrxhS34dr
URLS_VERIFY_UI
https://AFOEiEYuMWbJuHEggEbQ.pfQWlSMyPl,,pcK80YpSmfTu4+8fJfb9nsteihlmuak
URLS_DEFAULT_RETURN_TO
http://zkQAiAiiIYb.ccihU+5ATPZJD2Pw8g,BV1p3ttrEDUdvY1.smb0rA
DSN
postgres://xxx:yyy@zzz:ttt/uuu
URLS_SELF_PUBLIC
https://soaSpPGphWtHdGE.jnisR2qXIxFM6sRpbYF6B9pd1FBsbPIWBKPsXHYbqlRhdmG0xq.pO0IJ4m
URLS_SELF_ADMIN
http://AW.pbumgzDhx3hSJ+clKU7Oe,amEjmmbm1Ru2yMg0k6kV7cdSKDcPsn1QYXOVUB1071goU
URLS_WHITELISTED_RETURN_TO_DOMAINS
http://CTLQXiigUbkVwraZAOiDopaD.lzwMQNslH,m2aPn
|
Describe the bug
When I pull the image from Docker Hub and try to run it, it asks me to include the file
Reproducing the bug
Steps to reproduce the behavior:
Server logs
Server configuration
Expected behavior
It should run by itself, as stated in docs: https://www.ory.sh/kratos/docs/reference/configuration.
"If file $HOME/.kratos.yaml exists, it will be used as a configuration file which supports all configuration settings listed below."
By saying 'If file exists' it shouldn't be required.
Environment
Additional context
I'm running the instance on heroku, do you know how could I make it run without making any modifications to the original image?
The text was updated successfully, but these errors were encountered: