@@ -62,26 +62,26 @@ Amplicode добавит в файл docker-compose.yaml код для pgAdmin
6262
6363``` yaml
6464pgadmin :
65- image :dpage/pgadmin4:8.9
66- restart :" no"
67- ports :
68- -" 5050:80"
69- volumes :
70- -pgadmin_data:/var/lib/pgadmin
71- -./docker/pgadmin/servers.json:/pgadmin4/servers.json
72- -./docker/pgadmin/pgpass:/pgadmin4/pgpass
73- environment :
74- PGADMIN_DEFAULT_EMAIL :admin@admin.com
75- PGADMIN_DEFAULT_PASSWORD :root
76- PGADMIN_CONFIG_SERVER_MODE :" False"
77- PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED :" False"
78- healthcheck :
79- test :wget --no-verbose --tries=1 --spider http://localhost:80/misc/ping || exit -1
80- interval :10s
81- timeout :5s
82- start_period :10s
83- retries :5
84- entrypoint :/bin/sh -c "chmod 600 /pgadmin4/pgpass; /entrypoint.sh;"
65+ image :dpage/pgadmin4:8.9
66+ restart :" no"
67+ ports :
68+ -" 5050:80"
69+ volumes :
70+ -pgadmin_data:/var/lib/pgadmin
71+ -./docker/pgadmin/servers.json:/pgadmin4/servers.json
72+ -./docker/pgadmin/pgpass:/pgadmin4/pgpass
73+ environment :
74+ PGADMIN_DEFAULT_EMAIL :admin@admin.com
75+ PGADMIN_DEFAULT_PASSWORD :root
76+ PGADMIN_CONFIG_SERVER_MODE :" False"
77+ PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED :" False"
78+ healthcheck :
79+ test :wget --no-verbose --tries=1 --spider http://localhost:80/misc/ping || exit -1
80+ interval :10s
81+ timeout :5s
82+ start_period :10s
83+ retries :5
84+ entrypoint :/bin/sh -c "chmod 600 /pgadmin4/pgpass; /entrypoint.sh;"
8585volumes :
8686pgadmin_data :
8787` ` `