Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix consistency storage dirs, especially for dockerized versions #732

Closed
2 tasks done
joepio opened this issue Dec 6, 2023 · 1 comment
Closed
2 tasks done

Fix consistency storage dirs, especially for dockerized versions #732

joepio opened this issue Dec 6, 2023 · 1 comment
Assignees
Labels
server atomic-server

Comments

@joepio
Copy link
Member

joepio commented Dec 6, 2023

  • ATOMIC_CONFIG_DIR: dir for config files (keys, TLS)
  • ATOMIC_DATA_DIR: dir for all DB storage + uploads
  • ATOMIC_CONFIG_FILE_PATH (deprecated): links directly to KV store
  • ATOMIC_STORE_PATH (deprecated): links directly to

The latter two are currently used in the docker files. This is bad, because I suspect this means that docker images lose some data when turned on / off (such as uploads).

Also, I'm concerned the search index has to be re-built every time the image is shut down. Not a huge deal, but would be better if persisted.

  • Get rid of deprecated ENVs
  • Make sure dockerfiles persist uploads + search cache
@joepio joepio added the server atomic-server label Dec 6, 2023
@joepio joepio self-assigned this Dec 6, 2023
@joepio
Copy link
Member Author

joepio commented Dec 7, 2023

I've changed the ENVs in docker files.

joepio added a commit that referenced this issue Dec 7, 2023
@joepio joepio closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server atomic-server
Projects
None yet
Development

No branches or pull requests

1 participant