2022-04-01 02:00:52 +02:00
|
|
|
redis-server --requirepass $REDIS_PASSWORD &
|
|
|
|
/opt/clouseau/bin/clouseau &
|
2022-04-01 13:50:26 +02:00
|
|
|
/minio/minio server /minio &
|
2022-04-01 02:00:52 +02:00
|
|
|
/docker-entrypoint.sh /opt/couchdb/bin/couchdb &
|
|
|
|
/etc/init.d/nginx restart
|
|
|
|
pushd app
|
|
|
|
pm2 start --name app "yarn run:docker"
|
|
|
|
popd
|
|
|
|
pushd worker
|
|
|
|
pm2 start --name worker "yarn run:docker"
|
|
|
|
popd
|
|
|
|
sleep 10
|
|
|
|
URL=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@localhost:5984
|
|
|
|
curl -X PUT ${URL}/_users
|
|
|
|
curl -X PUT ${URL}/_replicator
|
|
|
|
sleep infinity
|