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

Begin moving to postgres spilo + adding pgvector #8309

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

FelixMalfait
Copy link
Member

@FelixMalfait FelixMalfait commented Nov 4, 2024

This doesn't work / DO NOT REVIEW - MERGE, raising a PR to ask a question.

How to test:

docker build -t twentycrm/twenty-postgres-spilo:latest -f ./packages/twenty-docker/twenty-postgres-spilo/Dockerfile .
docker images --no-trunc | grep twenty-postgres-spilo
postgres-on-docker:
	docker run \
	--name twenty_pg \
	-e PGUSER_SUPERUSER=twenty \
	-e PGPASSWORD_SUPERUSER=twenty \
	-e PGUSER_ADMIN=admin \
	-e PGPASSWORD_ADMIN=admin \
	-e ALLOW_NOSSL=true \
	-v twenty_db_data:/home/postgres/pgdata \
	-p 5432:5432 \
	REPLACE_WITH_IMAGE_ID

Edit: there's something wrong in the docs, passing:
Screenshot 2024-11-04 at 17 43 50

Gives:
Screenshot 2024-11-04 at 17 44 22

With user postgres:postgres (superuser) and twenty:twenty (not super user) being able to login)

@FelixMalfait FelixMalfait changed the title Begin moving to postgres spilo + adding pgvector/hydra Begin moving to postgres spilo + adding pgvector Nov 6, 2024
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.

1 participant