twenty/packages/twenty-website/src
Félix Malfait 736635a94b
Begin moving to postgres spilo + adding pgvector (#8309)
We will remove the `twenty-postgres` image that was used for local
development and only use `twenty-postgres-pilo` (which we use in prod),
bringing the development environment closer to prod and avoiding having
to maintain 2 images.


Instead of provisioning the super user after the db initialization, we
directly rely on the superuser provided by Spilo for simplicity. We also
introduce a change that tries to create the right database (`default` or
`test`) based on the context.
  

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 ALLOW_NOSSL=true \
	-v twenty_db_data:/home/postgres/pgdata \
	-p 5432:5432 \
	REPLACE_WITH_IMAGE_ID
```
2024-11-15 09:38:30 +01:00
..
app Fix broken documentation pages in mobile view (#8432) 2024-11-11 09:32:00 +01:00
content Begin moving to postgres spilo + adding pgvector (#8309) 2024-11-15 09:38:30 +01:00
database Fix contributor website import script (#8404) 2024-11-08 10:57:17 +01:00
github Fix contributor website import script (#8404) 2024-11-08 10:57:17 +01:00
shared-utils website / Fix broken links, slow loading, and prod errors (#5932) 2024-06-18 18:40:19 +02:00
middleware.ts Releases page (#5346) 2024-05-13 08:14:47 +02:00