Update initial deployment procedure
This commit is contained in:
parent
7b44ad02db
commit
599cc8ed90
12
README.md
12
README.md
|
@ -5,11 +5,15 @@ Note: the image is quite large since mnemosyne (by default) requires much of Qt5
|
|||
Usage:
|
||||
|
||||
* Start with `podman-compose up`
|
||||
* Generate a password, eg. `echo 'password' | argon2 saltsalt -e`
|
||||
* Once started, add the following to the config.py file in the data volume:
|
||||
```
|
||||
remote_access_username = "user"
|
||||
remote_access_password = "passwordhash"
|
||||
remote_access_password_algo = "argon2"
|
||||
remote_access_password = "password"
|
||||
remote_access_password_algo = ""
|
||||
run_sync_server = True
|
||||
```
|
||||
* Restart the container
|
||||
* Restart the container twice. On the first run, it seems to create the config.db
|
||||
with empty values only. On the second run, the values are properly set in the db
|
||||
and upgraded to being hashed using argon2id.
|
||||
* The lines matching "remote_access_*" may be removed from config.py and the container
|
||||
restart for a final time.
|
||||
|
|
Loading…
Reference in New Issue