mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-06 18:36:46 +00:00
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:
parent
11bdce5b53
commit
3e15b881d5
@ -44,8 +44,6 @@ services:
|
|||||||
timeout: '30s'
|
timeout: '30s'
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: '20s'
|
start_period: '20s'
|
||||||
ports:
|
|
||||||
- '5432:5432'
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
zitadel:
|
zitadel:
|
||||||
|
@ -39,8 +39,6 @@ services:
|
|||||||
timeout: '30s'
|
timeout: '30s'
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: '20s'
|
start_period: '20s'
|
||||||
ports:
|
|
||||||
- '5432:5432'
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
zitadel:
|
zitadel:
|
||||||
|
@ -31,8 +31,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=root
|
- POSTGRES_USER=root
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
ports:
|
|
||||||
- '5432:5432'
|
|
||||||
networks:
|
networks:
|
||||||
- 'zitadel'
|
- 'zitadel'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
@ -20,8 +20,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=root
|
- POSTGRES_USER=root
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
ports:
|
|
||||||
- '5432:5432'
|
|
||||||
networks:
|
networks:
|
||||||
- 'zitadel'
|
- 'zitadel'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
@ -133,8 +133,6 @@ services:
|
|||||||
timeout: 60s
|
timeout: 60s
|
||||||
retries: 10
|
retries: 10
|
||||||
start_period: 5s
|
start_period: 5s
|
||||||
ports:
|
|
||||||
- '5432:5432'
|
|
||||||
networks:
|
networks:
|
||||||
- 'zitadel'
|
- 'zitadel'
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user