Cant find var/sqlite/dex.db #1981
Answered
by
nabokihms
AnkitaBarbi
asked this question in
Q&A
-
Trying to build up dex via Dockerfiles, using the original config.yaml for storage (sqlite3), but my docker is failing as it cant find var/sqlite/dex.db. Neither its present in repo. What am I missing here? |
Beta Was this translation helpful? Give feedback.
Answered by
nabokihms
Feb 11, 2021
Replies: 1 comment 2 replies
-
Hello! I think you should change the path to something like /var/dex/dex.db to make it works inside of the container. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
AnkitaBarbi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
If sqlite3 database file doesn't exist, dex will create it on startup. However, /var/sqlite folder is missing in the container.
I think you should change the path to something like /var/dex/dex.db to make it works inside of the container.