File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ The `docker-compose.yml` contains a service named `postgres` defined below.
121121` ` ` yml
122122services:
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
275279administer the single local development server running in docker we can disable the master password
276280with 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
279283shown below.
280284
281285<img src="diagrams/pgAdminConnect.png" width="400" height="500" title="PgAdmin">
You can’t perform that action at this time.
0 commit comments