Commit 817fbf22 authored by Alexander Bogdanov's avatar Alexander Bogdanov

WIP

parent 30fe129e
......@@ -33,8 +33,7 @@ services:
image: node:8.11-alpine
volumes:
- .:/pwd
- ../cloudron-cli:/cloudron-cli
- $HOME/.cloudron.json:/root/.cloudron.json
- /home/syn/.cloudron.json:/root/.cloudron.json
environment:
- PATH=/cloudron-cli/bin:/pwd/test/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- USERNAME=$USER
......@@ -45,6 +44,7 @@ services:
working_dir: /pwd/test
command: |
sh -c "
npm install -g cloudron &&
npm install &&
while ! echo waiting for selenium:4444 | nc selenium 4444 > /dev/null; do sleep .3; done &&
mocha --bail test.js
......
......@@ -29,4 +29,7 @@ PORT=4000 STREAMING_CLUSTER_NUM=1 $SUDO npm run start &
DB_POOL=25 MALLOC_ARENA_MAX=2 $SUDO bundle exec sidekiq -c 25 &
mkdir -p /run/nginx/log /run/nginx/body /run/nginx/cache
while ! echo waiting for puma | nc localhost 3000 > /dev/null; do sleep .5; done &&
while ! echo waiting for node | nc localhost 4000 > /dev/null; do sleep .5; done &&
nginx -g 'daemon off;'
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment