Skip to content
Snippets Groups Projects
Unverified Commit e3443d54 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Rollback poller changes for next version (#5360)

* Rollback poller changes for next version

* Revert dockerfile
parent a2a63ba5
Branches
Tags
No related merge requests found
......@@ -40,8 +40,7 @@ RUN apk update \
COPY . ./
RUN apk update \
&& apk upgrade \
&& update-ca-certificates \
&& chmod +x ./bin/poller
&& update-ca-certificates
EXPOSE ${PORT}
ENTRYPOINT [ "./bin/start" ]
#!/usr/bin/env bash
source config.env
if [ "$RAILS_ENV" = "production" ]; then
while ! nc -zw3 $PGHOST $PGPORT
do
echo "Waiting for postgres to start up ..."
sleep 1
done
fi
bundle exec rake poller:run_all
......@@ -33,13 +33,3 @@ services:
depends_on:
- postgres
- redis
greenlight-v3-poller:
entrypoint: [bin/poller]
image: bigbluebutton/greenlight:v3
container_name: greenlight-v3-poller
env_file: .env
depends_on:
- postgres
- redis
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment