Skip to content

Pingvin: store data on a NAS? #4260

Closed Answered by tremor021
Stooovie asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@tremor021
Comment options

@MickLesk
Comment options

@warmbo
Comment options

Comment options

You must be logged in to vote
4 replies
@tremor021
Comment options

Answer selected by Stooovie
@tremor021
Comment options

@Stooovie
Comment options

@warmbo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants