Update initial deployment procedure

This commit is contained in:
Kienan Stewart 2023-02-22 17:13:25 -05:00
parent 7b44ad02db
commit 599cc8ed90
1 changed files with 8 additions and 4 deletions

View File

@ -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.