mirror of
https://github.com/zitadel/zitadel
synced 2024-11-22 00:39:36 +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'
|
||||
retries: 5
|
||||
start_period: '20s'
|
||||
ports:
|
||||
- '5432:5432'
|
||||
|
||||
networks:
|
||||
zitadel:
|
||||
|
@ -39,8 +39,6 @@ services:
|
||||
timeout: '30s'
|
||||
retries: 5
|
||||
start_period: '20s'
|
||||
ports:
|
||||
- '5432:5432'
|
||||
|
||||
networks:
|
||||
zitadel:
|
||||
|
@ -31,8 +31,6 @@ services:
|
||||
environment:
|
||||
- POSTGRES_USER=root
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
ports:
|
||||
- '5432:5432'
|
||||
networks:
|
||||
- 'zitadel'
|
||||
healthcheck:
|
||||
|
@ -20,8 +20,6 @@ services:
|
||||
environment:
|
||||
- POSTGRES_USER=root
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
ports:
|
||||
- '5432:5432'
|
||||
networks:
|
||||
- 'zitadel'
|
||||
healthcheck:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user