File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ services:
3434 command: -p 5437
3535 shm_size: 10gb
3636 healthcheck:
37- test: ["CMD-SHELL", "pg_isready -U postgresus -d postgresus -p 5437"]
37+ test: ["CMD-SHELL", "pg_isready -U postgres -d postgresus -p 5437"]
3838 interval: 5s
3939 timeout: 5s
4040 retries: 5
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ services:
8080 command: -p 5437
8181 shm_size: 10gb
8282 healthcheck:
83- test: ["CMD-SHELL", "pg_isready -U postgresus -d postgresus -p 5437"]
83+ test: ["CMD-SHELL", "pg_isready -U postgres -d postgresus -p 5437"]
8484 interval: 5s
8585 timeout: 5s
8686 retries: 5
101101
102102# Add cron job for system reboot
103103log " Setting up cron job to start PostgresUS on system reboot..."
104- CRON_JOB=" @reboot cd $INSTALL_DIR && docker- compose up -d >> $INSTALL_DIR /postgresus-startup.log 2>&1"
104+ CRON_JOB=" @reboot cd $INSTALL_DIR && docker compose up -d >> $INSTALL_DIR /postgresus-startup.log 2>&1"
105105(crontab -l 2> /dev/null | grep -v " $INSTALL_DIR .*docker-compose" ; echo " $CRON_JOB " ) | crontab -
106106log " Cron job configured successfully"
107107
108- log " PostgresUS installation completed successfully!"
108+ log " Postgresus installation completed successfully!"
109109log " -------------------------------------------"
110110log " To launch immediately:"
111111log " > cd $INSTALL_DIR && docker compose up -d"
112112log " Or reboot system to auto-start via cron"
113- log " Access PostgresUS at: http://localhost:4005"
113+ log " Access Postgresus at: http://localhost:4005"
You can’t perform that action at this time.
0 commit comments