chore(doc): do not expose database to public networks in examples (#8175)

# Which Problems Are Solved

The docker-compose examples expose the database to the world.

# How the Problems Are Solved

Remove the `ports` config from the `db` service.
This commit is contained in:
Jasper van der Neut - Stulen 2024-06-21 17:02:04 +02:00 committed by GitHub
parent 11bdce5b53
commit 3e15b881d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 1 additions and 11 deletions

View File

@ -44,8 +44,6 @@ services:
timeout: '30s'
retries: 5
start_period: '20s'
ports:
- '5432:5432'
networks:
zitadel:

View File

@ -39,8 +39,6 @@ services:
timeout: '30s'
retries: 5
start_period: '20s'
ports:
- '5432:5432'
networks:
zitadel:

View File

@ -31,8 +31,6 @@ services:
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=postgres
ports:
- '5432:5432'
networks:
- 'zitadel'
healthcheck:

View File

@ -20,8 +20,6 @@ services:
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=postgres
ports:
- '5432:5432'
networks:
- 'zitadel'
healthcheck:

View File

@ -133,8 +133,6 @@ services:
timeout: 60s
retries: 10
start_period: 5s
ports:
- '5432:5432'
networks:
- 'zitadel'
volumes:
@ -144,4 +142,4 @@ networks:
zitadel:
volumes:
data:
data: