Skip to content

Conversation

@andy11
Copy link
Contributor

@andy11 andy11 commented Aug 22, 2024

There are still some issues & work remaining, but would you all be generally interested in something like this to use docker/docker-compose to simplify the install steps?

I'm getting some errors but the app mostly comes up - I'm not sure if it's expected to fully work before #194 is merged, so I'll re-test after that, but let me know if you have any thoughts/questions/feedback whenever.

@andy11 andy11 marked this pull request as draft August 22, 2024 12:11
@andy11 andy11 changed the title Add dockerfile, docker-compose.yaml; mostly working Add dockerfile, docker-compose.yaml Aug 22, 2024
@George3d6
Copy link
Contributor

George3d6 commented Aug 25, 2024

There are still some issues & work remaining, but would you all be generally interested in something like this to use docker/docker-compose to simplify the install steps?
Certainly, I think being able to run metaculus by just running a docker-compose file is quite appealing.

Would probably add the same waiting strategy you have for postgres for redis.

I'm curious if it wouldn't be easier for us to just add CREATE EXTENSION IF NOT EXISTS vector; as sql always run by our migration command.

@George3d6 George3d6 marked this pull request as ready for review August 29, 2024 14:50
@George3d6
Copy link
Contributor

Having the docker compose is quite useful, I believe it should now work with our standard docker file so I'm removing yours + the entrypoint script.

@George3d6 George3d6 merged commit d93ef0c into Metaculus:main Aug 29, 2024
casens5 pushed a commit that referenced this pull request Aug 30, 2024
* initial commit, mostly working

* Delete entrypoint.sh

* Delete Dockerfile

---------

Co-authored-by: George <george@cerebralab.com>
George3d6 added a commit that referenced this pull request Aug 30, 2024
* initial commit, mostly working

* Delete entrypoint.sh

* Delete Dockerfile

---------

Co-authored-by: George <george@cerebralab.com>
George3d6 added a commit that referenced this pull request Aug 30, 2024
* initial commit, mostly working

* Delete entrypoint.sh

* Delete Dockerfile

---------

Co-authored-by: George <george@cerebralab.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants