Replies: 1 comment 4 replies
-
This question is related to docker as opposed to parse-server-swift. The docker-compose example in this repo is intended to be a toy example, you will need to customize to your needs for a real deployment. You are asking about volume mounting, see my comments https://github.com/netreconlab/parse-hipaa/blob/ea87809cfc5d74a574d1729d14a336f36718cbcd/docker-compose.yml#L45-L60 Typically if you are using a hosting service like Heroku, you should use https://www.heroku.com/postgres for your DB. People who volume mount are typically using local setups or customized cloud setup where they customize their own high availability and redundancy |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been moving my data from Mongo to Postgres and testing around.
I found out that with the current default Postgres setup in docker-compose.yml that data won't persist when
docker-compose down
is run.Is there any reason that isn't an option yet (no commented out lines like other options in the docker-compose file).
I found that adding volumes fixes that.
If there's a better setup for it pls do let me know.
Beta Was this translation helpful? Give feedback.
All reactions