mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-20 03:47:41 +00:00
replaced cockroach with postgres
This commit is contained in:
@@ -5,12 +5,23 @@ ExternalDomain: host.docker.internal
|
||||
ExternalSecure: false
|
||||
|
||||
Database:
|
||||
cockroach:
|
||||
postgres:
|
||||
# This makes the e2e config reusable with an out-of-docker zitadel process and an /etc/hosts entry
|
||||
Host: host.docker.internal
|
||||
EventPushConnRatio: 0.2
|
||||
Host: host.docker.internal
|
||||
Port: 5432
|
||||
MaxOpenConns: 15
|
||||
MaxIdleConns: 10
|
||||
Database: zitadel
|
||||
User:
|
||||
Username: zitadel
|
||||
Password: zitadel
|
||||
SSL:
|
||||
Mode: disable
|
||||
Admin:
|
||||
Username: postgres
|
||||
Password: postgres
|
||||
SSL:
|
||||
Mode: disable
|
||||
|
||||
TLS:
|
||||
Enabled: false
|
||||
|
@@ -30,14 +30,15 @@ services:
|
||||
|
||||
db:
|
||||
restart: 'always'
|
||||
image: 'cockroachdb/cockroach:latest-v24.3'
|
||||
command: 'start-single-node --insecure --http-addr :9090'
|
||||
image: 'postgres:17-alpine'
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
healthcheck:
|
||||
test: ['CMD', 'curl', '-f', 'http://localhost:9090/health?ready=1']
|
||||
test: ["CMD-SHELL", "pg_isready", "-d", "zitadel", "-U", "postgres"]
|
||||
interval: '10s'
|
||||
timeout: '30s'
|
||||
retries: 5
|
||||
start_period: '20s'
|
||||
ports:
|
||||
- "26257:26257"
|
||||
- "9090:9090"
|
||||
- "5432:5432"
|
||||
|
@@ -5,12 +5,24 @@ ExternalDomain: localhost
|
||||
ExternalSecure: false
|
||||
|
||||
Database:
|
||||
cockroach:
|
||||
postgres:
|
||||
# This makes the e2e config reusable with an out-of-docker zitadel process and an /etc/hosts entry
|
||||
Host: host.docker.internal
|
||||
EventPushConnRatio: 0.2
|
||||
Port: 5432
|
||||
database: zitadel
|
||||
MaxOpenConns: 15
|
||||
MaxIdleConns: 10
|
||||
Database: zitadel
|
||||
User:
|
||||
Username: zitadel
|
||||
Password: zitadel
|
||||
SSL:
|
||||
Mode: disable
|
||||
Admin:
|
||||
Username: postgres
|
||||
Password: postgres
|
||||
SSL:
|
||||
Mode: disable
|
||||
|
||||
TLS:
|
||||
Enabled: false
|
||||
|
Reference in New Issue
Block a user