Skip to content

Commit 4edf2e0

Browse files
committed
Removed the includes/postgresql-9.3-tsearch-extras folder (not needed anymore)
Some small changes to the entrypoint.sh
1 parent a94ad02 commit 4edf2e0

File tree

5 files changed

+2
-62775
lines changed

5 files changed

+2
-62775
lines changed

docker-compose.yml

-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ database:
66
DB_PASS: zulip
77
volumes:
88
- "/opt/docker/postgresql/data:/var/lib/postgresql:rw"
9-
- "/opt/docker/postgresql/dicts/en_us.dict:/usr/share/postgresql/9.4/tsearch_data/en_us.dict"
10-
- "/opt/docker/postgresql/dicts/en_us.affix:/usr/share/postgresql/9.4/tsearch_data/en_us.affix"
11-
- "/opt/docker/postgresql/dicts/zulip_english.stop:/usr/share/postgresql/9.4/tsearch_data/zulip_english.stop"
129
memcached:
1310
image: "quay.io/sameersbn/memcached:latest"
1411
restart: always

entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ EOF
170170
done
171171
sed -i "s~AUTHENTICATION_BACKENDS = (~AUTHENTICATION_BACKENDS = (\n$AUTH_BACKENDS~g" "$ZULIP_SETTINGS"
172172
# Rabbitmq settings
173-
sed -i "s~pika.ConnectionParameters('localhost',~pika.ConnectionParameters(settings.RABBITMQ_HOST,~g" "$ZULIP_CURRENT_DEPLOY/zerver/lib/queue.py"
174173
cat >> "$ZULIP_ZPROJECT_SETTINGS" <<EOF
175174
RABBITMQ_HOST = '$RABBITMQ_HOST'
176175
EOF
@@ -184,6 +183,7 @@ EOF
184183
RABBITMQ_PASSWORD = '$RABBITMQ_PASSWORD'
185184
EOF
186185
fi
186+
sed -i "s~pika.ConnectionParameters('localhost',~pika.ConnectionParameters(settings.RABBITMQ_HOST,~g" "$ZULIP_CURRENT_DEPLOY/zerver/lib/queue.py"
187187
# Redis settings
188188
if [ -z "$REDIS_HOST" ]; then
189189
export REDIS_HOST="localhost"
@@ -302,7 +302,7 @@ fi
302302
if [ ! -e "$DATA_DIR/.zulip-$ZULIP_VERSION" ]; then
303303
echo "Starting zulip migration ..."
304304
if ! /home/zulip/deployments/current/manage.py migrate; then
305-
echo "Zulip migration error."
305+
echo "Zulip migration failed."
306306
exit 1
307307
fi
308308
rm -rf "$DATA_DIR/.zulip-*"

0 commit comments

Comments
 (0)