Skip to content

Commit ab0f5e0

Browse files
build: update Dockerfile-python-pg.
1 parent a8cda7d commit ab0f5e0

File tree

4 files changed

+3
-184
lines changed

4 files changed

+3
-184
lines changed

installer/Dockerfile-python-pg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ARG DEPENDENCIES=" \
88
ca-certificates \
99
vim \
1010
gettext \
11+
wait-for-it \
1112
redis-server \
1213
postgresql-17-pgvector \
1314
postgresql-17-age"

installer/start-postgres.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ mkdir -p /opt/maxkb/data/postgresql
44
echo "PostgreSQL starting..."
55
docker-entrypoint.sh postgres -c max_connections=${POSTGRES_MAX_CONNECTIONS} &
66
sleep 10
7-
/usr/bin/wait-for-it.sh 127.0.0.1:5432 --timeout=120 --strict -- echo "PostgreSQL started."
7+
wait-for-it 127.0.0.1:5432 --timeout=120 --strict -- echo "PostgreSQL started."

installer/start-redis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ fi
1010
echo "Redis starting..."
1111
redis-server /opt/maxkb/conf/redis.conf &
1212
sleep 5
13-
/usr/bin/wait-for-it.sh 127.0.0.1:6379 --timeout=60 --strict -- echo "Redis started."
13+
wait-for-it 127.0.0.1:6379 --timeout=60 --strict -- echo "Redis started."

installer/wait-for-it.sh

Lines changed: 0 additions & 182 deletions
This file was deleted.

0 commit comments

Comments
 (0)