You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
We run our own version of retool; I recently switched to an m1 macbook and had trouble getting the docker-compose stack to run. I got output that looked something like this:
Googling around I discovered this was a problem on M1 macs when docker has trouble building a docker image. Interestingly, I already had some postgres containers running on my local machine for other apps. I'm using Rosetta, and I did have the correct docker env variable set to get the docker engine to build an AMD compatible image (for reference, this is DOCKER_DEFAULT_PLATFORM=linux/amd64).
I was able to get retool to run by updating the docker-compose.yml file to simply use the latest postgres. So far, it seems to work okay, but using latest PG without understanding the requirements for retool itself seems a little iffy. My instinct is it should be totally compatible since I don't imagine the Retool app needs to do very intense SQL operations to do its thing, but the version in the compose file is 6 major versions behind, so you never know.
Is there a recommended version of postgres that would make more sense for us to use instead of latest (i.e. 15.3)? I'll report back if I experience any strange bugs and happily test with a recommended version as well. A blurb about M1 compatibility in the Readme might be good too :)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We run our own version of retool; I recently switched to an m1 macbook and had trouble getting the docker-compose stack to run. I got output that looked something like this:
Googling around I discovered this was a problem on M1 macs when docker has trouble building a docker image. Interestingly, I already had some postgres containers running on my local machine for other apps. I'm using Rosetta, and I did have the correct docker env variable set to get the docker engine to build an AMD compatible image (for reference, this is
DOCKER_DEFAULT_PLATFORM=linux/amd64
).I was able to get retool to run by updating the docker-compose.yml file to simply use the latest postgres. So far, it seems to work okay, but using latest PG without understanding the requirements for retool itself seems a little iffy. My instinct is it should be totally compatible since I don't imagine the Retool app needs to do very intense SQL operations to do its thing, but the version in the compose file is 6 major versions behind, so you never know.
Is there a recommended version of postgres that would make more sense for us to use instead of
latest
(i.e. 15.3)? I'll report back if I experience any strange bugs and happily test with a recommended version as well. A blurb about M1 compatibility in the Readme might be good too :)The text was updated successfully, but these errors were encountered: