-
Hi, I'd like to have Pingvin use my NAS to store the data. I see in the documentation I need to adjust the config.yaml to do that (adding DATA_DIRECTORY there), but it doesn't work. Data still store at I also tried to adjust the docker compose yml like this, but that didn't work either as the install is apparently not using Docker:
My NAS folder is mounted via fstab at /media/Public/pingvin Any more tips? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
We are not their support. Ask this in their github. |
Beta Was this translation helpful? Give feedback.
-
I agree, the documentation for this needs to be updated at least a little so we know what type of installation this was. As is none of their documented information on their website docs reflects how we can change it on an unknown install type. |
Beta Was this translation helpful? Give feedback.
-
Thanks. To complete even further:
|
Beta Was this translation helpful? Give feedback.
No, you said "I need to adjust the config.yaml to do that (adding DATA_DIRECTORY there), but it doesn't work."
Environment variables don't go in yaml file, as stated by the docs:
For installation specific configuration, you can use environment variables.
so points 1, 2 you didn't do correctly. point 3 is understandable, not everyone is a dev, but understanding code and docs is kind of a prerequisite to use custom scripts.
To cut to the chase:
DATA_DIRECTORY=/opt/pingvindata pm2 restart all --update-env
this is a quick shortcut to define and update env variable for a app using pm2. Adjust the path to your desire