Skip to content

Commit f5c8f39

Browse files
committed
sync README snippets with actual docker-compose.yml
Add missing service-connection label to postgres snippet, add logging env vars to pgAdmin snippet, fix "connetion" typo.
1 parent 6dd4dcb commit f5c8f39

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ The `docker-compose.yml` contains a service named `postgres` defined below.
121121
```yml
122122
services:
123123
postgres:
124+
labels:
125+
org.springframework.boot.service-connection: postgres
124126
image: "postgres:18"
125127
shm_size: 256mb
126128
environment:
@@ -231,6 +233,8 @@ pgadmin:
231233
PGADMIN_CONFIG_SERVER_MODE: "False"
232234
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: "False"
233235
PGADMIN_REPLACE_SERVERS_ON_STARTUP: "True"
236+
PGADMIN_CONFIG_CONSOLE_LOG_LEVEL: 30
237+
GUNICORN_ACCESS_LOGFILE: "/var/lib/pgadmin/access.log"
234238
configs:
235239
- source: pgadmin_servers
236240
target: /pgadmin4/servers.json
@@ -275,7 +279,7 @@ that must be entered by the user everytime they use pgAdmin. Since we are runnin
275279
administer the single local development server running in docker we can disable the master password
276280
with the environment variable `PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: "False"`.
277281

278-
Normal behaviour of pgAdmin is for a user to use the GUI to define a connetion to a database as
282+
Normal behaviour of pgAdmin is for a user to use the GUI to define a connection to a database as
279283
shown below.
280284

281285
<img src="diagrams/pgAdminConnect.png" width="400" height="500" title="PgAdmin">

0 commit comments

Comments
 (0)