twenty/packages/twenty-docker/k8s/manifests
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
..
deployment-db.yaml Begin moving to postgres spilo + adding pgvector (#8309) 2024-11-15 09:38:30 +01:00
deployment-redis.yaml Updating terraform and k8s files adding redis... (#7425) 2024-10-07 10:23:42 +02:00
deployment-server.yaml Begin moving to postgres spilo + adding pgvector (#8309) 2024-11-15 09:38:30 +01:00
deployment-worker.yaml Begin moving to postgres spilo + adding pgvector (#8309) 2024-11-15 09:38:30 +01:00
ingress.yaml Updating terraform and k8s files adding redis... (#7425) 2024-10-07 10:23:42 +02:00
pv-db.yaml Support for Kubernetes via Terraform and Manifests (#5721) 2024-07-10 13:54:27 +02:00
pv-docker-data.yaml Updating terraform and k8s files adding redis... (#7425) 2024-10-07 10:23:42 +02:00
pv-server.yaml Support for Kubernetes via Terraform and Manifests (#5721) 2024-07-10 13:54:27 +02:00
pvc-db.yaml Support for Kubernetes via Terraform and Manifests (#5721) 2024-07-10 13:54:27 +02:00
pvc-docker-data.yaml Updating terraform and k8s files adding redis... (#7425) 2024-10-07 10:23:42 +02:00
pvc-server.yaml Support for Kubernetes via Terraform and Manifests (#5721) 2024-07-10 13:54:27 +02:00
service-db.yaml Updating terraform and k8s files adding redis... (#7425) 2024-10-07 10:23:42 +02:00
service-redis.yaml Updating terraform and k8s files adding redis... (#7425) 2024-10-07 10:23:42 +02:00
service-server.yaml Updating terraform and k8s files adding redis... (#7425) 2024-10-07 10:23:42 +02:00