Open hamstah opened 9 years ago
I tried your fork on google cloud, I got some errors... pls look into it Sorry had to do this here, your repository doesn't have a Issues tab.
root@dreamer:/home/blackcurrant_apps/clouddream# docker-compose up
Recreating clouddream_redis_1...
Recreating clouddream_manager_1...
Recreating clouddream_compute_1...
Recreating clouddream_nginx_1...
Attaching to clouddream_redis_1, clouddream_manager_1, clouddream_compute_1, clouddream_nginx_1
redis1 | ._
redis1 | .-__ ''-._ redis_1 | _.-
.
. ''-. Redis 3.0.3 (00000000/0) 64 bit
redis1 | .-`.-.
\/ ., ''-.
redis_1 | ( ' , .-|
, ) Running in standalone mode
redis1 | |`-.-...-
...-.-._|'
_.-'| Port: 6379
redis1 | |`-. ._ / _.-' | PID: 1 redis_1 |
-. `-.-./ _.-' _.-' redis_1 | |
-.`-.-.**.-' _.-'_.-'| redis_1 | |
-.`-. .-'.-' | http://redis.io
redis1 | `-.-._
-..-'.-' .-'
redis1 | |`-.-._
-..-' .-'.-'|
redis1 | | `-.-._ _.-'_.-' | redis_1 |
-.`-.-.**.-'_.-' _.-' redis_1 |
-._ -.__.-' _.-' redis_1 |
-. .-'
redis_1 | `-..-'
redis_1 |
redis_1 | 1:M 09 Aug 16:40:11.947 # Server started, Redis version 3.0.3
redis_1 | 1:M 09 Aug 16:40:11.969 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis_1 | 1:M 09 Aug 16:40:11.969 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1 | 1:M 09 Aug 16:40:11.969 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1 | 1:M 09 Aug 16:40:11.970 * DB loaded from append only file: 0.001 seconds
redis_1 | 1:M 09 Aug 16:40:11.970 * The server is now ready to accept connections on port 6379
compute_1 | 16:40:15 RQ worker u'rq:worker:4d7af1871d2d.11' started, version 0.5.4
compute_1 | 16:40:15
compute_1 | 16:40:15 * Listening on compute...
manager_1 | [2015-08-09 16:40:15 +0000] [1] [INFO] Starting gunicorn 19.3.0
manager_1 | [2015-08-09 16:40:15 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
manager_1 | [2015-08-09 16:40:15 +0000] [1] [INFO] Using worker: sync
manager_1 | [2015-08-09 16:40:15 +0000] [14] [INFO] Booting worker with pid: 14
manager_1 | [2015-08-09 16:40:18 +0000] [14] [ERROR] Exception in worker process:
manager_1 | Traceback (most recent call last):
manager_1 | File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker
manager_1 | worker.init_process()
manager_1 | File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 118, in init_process
manager_1 | self.wsgi = self.app.wsgi()
manager_1 | File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 67, in wsgi
manager_1 | self.callable = self.load()
manager_1 | File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
manager_1 | return self.load_wsgiapp()
manager_1 | File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
manager_1 | return util.import_app(self.app_uri)
manager_1 | File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 355, in import_app
manager_1 | import(module)
manager_1 | File "/opt/manager/manager/init.py", line 1, in
Hey
Thanks for trying it, I forgot to add a file, which I've now added. Also added issues to the repo.
@hamstah Great ! will try again !
Hi,
Sent you an email a few weeks ago as I started working on my fork, but not sure you received it. I've heavily changed your original code for my needs, and I thought it might be worth discussing how we could work together to make more people benefit from them.
My fork is at https://github.com/hamstah/clouddream
Some of the changes I introduced
It's obviously work in progress and I'm no docker expert, but I think it provides a good foundation to extend.
I'm thinking of moving the project out of the fork and into its own repo, as it's almost a complete rewrite.
Would be great to hear your thoughts.
I have a version of it running on a digital ocean droplet, I can give you access if you want to check it out.