
docker/build/compass is for building compass docker image, which should be triggered automatically by CI(or other periodic jobs). under docker/build/scripts there is a sample start that can be included in Dockerfile(uncomment CMD["/root/sample_start"] when testing this image build. Change-Id: I05dbbde67bd82803971cf3f90a8dbea6d57b0776
10 lines
407 B
Bash
10 lines
407 B
Bash
#/bin/bash
|
|
set -e
|
|
/opt/compass/bin/manage_db.py createdb
|
|
# /opt/compass/bin/clean_installers.py
|
|
# /opt/compass/bin/clean_installation_logs.py
|
|
/usr/sbin/apachectl -D NO_DETACH -D FOREGROUND
|
|
/usr/bin/redis-server &
|
|
CELERY_CONFIG_MODULE=compass.utils.celeryconfig_wrapper C_FORCE_ROOT=1 /opt/compass/bin/celery worker &> /tmp/celery-worker.log &
|
|
/opt/compass/bin/progress_update.py &> /tmp/progress_update.log
|