Questions tagged [dotcloud]
dotCloud is a platform-as-a-service. It let developers deploy and scale their applications with a mix and match from a large choice of languages, databases, caching and messaging components, leaving them in full control of their technology stack. Web applications are divided into services, which are configured with a central deployment file.
171
questions
57
votes
6
answers
41k
views
Mounting directory from host machine to container in Docker
How do I mount a directory from the host machine to a container in Docker?
27
votes
5
answers
18k
views
Looking for PaaS providers recommendations [closed]
I want to develop our new project using a PaaS provider. I'll be developing primary in PHP, but would like that the service can provide other languages too (and add-ons available too, like MongoDB, ...
15
votes
1
answer
22k
views
How to get the output from docker run -i
docker run normally returns the output of the command it runs. I need to pass some data to docker, run a command that processes the data, and return the output. When I use the -i option, no output is ...
13
votes
1
answer
3k
views
gunicorn, nginx (v 1.3.14), django, and gevent-socket.io, on dotcloud
I am trying to deploy gunicorn + gevent behind nginx (v 1.3.14) on dotcloud. I have a few questions about it. I am aiming to adapt the python-on-dotcloud example. So far, I have not been able to ...
12
votes
3
answers
6k
views
Django + uwsgi + nginx + SSL
I am using Django on DotCloud which uses Django on top of uwsgi + nginx. I am trying to redirect all http traffic to https which is leading to a redirect loop. I am using the following http ...
10
votes
2
answers
8k
views
Error: readv() failed (104: Connection reset by peer) while reading upstream
I have facebook apps with flask with nginx and uwsgi. When it receive POST from facebook, it always has error:
readv() failed (104: Connection reset by peer) while reading upstream
But when I access ...
9
votes
1
answer
3k
views
How to run 2 wordpress blogs using docker on ec2
I just started playing around with Docker.io. Its a great platform for sure. I have an issue i need some help with. I ran a medium instance on ec2 setup docker. Now i want to run 2 wordpress blog ...
8
votes
5
answers
3k
views
Heroku vs DotCloud vs Duostack vs other cloud/PaaS providers (Rails and non-Rails)?
We have a very simple function (We look something up from a third party database and return an answer. It's literally five lines of code.) We would like to offload this task from our main server ...
8
votes
1
answer
7k
views
nginx.conf for a restful api
I'm currently developing a RESTful api as a bridge between my ios/web application and their shared database, and content.
I found my way to implement RESTful api in PHP on this blog.
I started my ...
5
votes
1
answer
2k
views
Dotcloud: how to load a redis backup file on startup
I can't find a way to have redis load my own dump.rdb backup file on startup, on dotcloud. I can see in the server logs that redis is loading a file, but I don't know where it is (and I can't find it)
...
5
votes
2
answers
757
views
Pushing my code onto DotCloud from cloud9ide.com
I'm coding on the cloud9ide, which pushes to github. I then host it on dotcloud. I'm trying to see if there's some way I can get my code to deploy onto dotcloud when I push on cloud9ide without doing ...
4
votes
2
answers
12k
views
"Call-time pass-by-reference has been removed"
I'm trying to deploy Wordpress on Dotcloud using this repo but there is an error that appears in the logs:
18:59:19: [www.0] Running postinstall script...
18:59:21: [www.0] PHP Fatal error: Call-...
4
votes
2
answers
21k
views
upstream prematurely closed connection while reading response header
I am trying to deploy a Flask Python app on dotcloud (which uses nginx) and MongoDB, and at one point am routing to Twitter for OAuth authorization. Upon trying to route back to my app I get the nginx ...
4
votes
1
answer
649
views
When will Docker be launched? [closed]
I need a tool to encapsulate heterogeneous payloads in Standard Containers, and run them on any server with strong guarantees of isolation and repeatability.
When will Docker be launched??
4
votes
1
answer
224
views
Module (not?) being installed because it is up to date (is it?)
I am trying to deploy to dotcloud.
My Makefile.PL points that I require URI 1.60. The development.yml file says that as well. The builder claims that the module is installed.
18:38:39: [www] I am ...
4
votes
1
answer
282
views
How can I increase the allowed size of HTTP GET requests on dotcloud?
I am doing some JSONP calls which limit me to HTTP GET as the method of talking to the server. I seem to be hitting an 8k limit on the size of the request. I have tried changing my dotcloud.yml to
...
4
votes
1
answer
3k
views
How to fix Redis "memory leak"
I'm using a redis memory store on dotcloud but despite expiring keys its used_memory never drops back down again. Using flushdb or flushall from redis-cli doesn't cause the used_memory to drop from ...
4
votes
1
answer
725
views
How to expose a tornado server serving websockets on dotcloud to the www?
I am trying to install the IPython html notebook server
on dotCloud. The IPython server uses tornado with websockets (and other internal communications using zeromq on tcp sockets).
Hhere's my ...
3
votes
2
answers
22k
views
How to connect to remote mysql database using php (hosted on dotCloud)
I am unable to connect to my database residing on dotCloud. I tried:
$mysqli = new mysqli($db_host, $db_user, $db_password, $db_name);
and
$mysqli = mysqli_connect($db_host, $db_user, $...
3
votes
1
answer
3k
views
dotcloud supervisord twistd exiting early
I'm trying to set up a twistd daemon on dotcloud:
My supervisord.conf file:
[program:apnsd]
command=/home/dotcloud/env/bin/twistd --logfile /var/log/supervisor/apnsd.log apnsd -c gp_config.py
...
3
votes
1
answer
9k
views
dotcloud push on cygwin fails with "rsync error: unexplained error (code 255)" (similar with git and hg)
Though I have followed the usual steps for using the dotCloud CLI under Cygwin, dotcloud push fails in all cases: --rsync, --hg, and --git.
I am on Windows 8 and Cygwin.
How can I push successfully?
...
3
votes
2
answers
3k
views
How to setup supervisord on Elastic Beanstalk?
I am migrating from DotCloud to Elastic Beanstalk.
Using DotCloud, they clearly explained how to set up Python Worker, and how to use supervisord.
Moving to Elastic Beanstalk, I am lost on how I ...
3
votes
1
answer
148
views
Two WWW in dotcloud.yml
Is it possible to put two 'www' entries into the dotcloud.yml file? I want to have a type:node and a type:static, but of which are in the 'www' section of the .yml file. Not sure if I can do that or ...
3
votes
1
answer
3k
views
dotcloud supervisord.conf file environment specification
http://docs.dotcloud.com/guides/daemons/ states:
Configuring The Environment
You can easily modify the environment of execution of your daemon with the “directory” and “environment” directives to ...
3
votes
1
answer
610
views
How to setup a custom domain on dotcloud?
According to the docs on dotcloud, I have "dotcloud alias add ramen.www www.example.com" executed.Then I got "please add the following dns record: www.example.com IN CNAME gateway.dotcloud.com". I ...
3
votes
3
answers
840
views
Hosting a nodejs server on dotcloud
I am trying to host a nodejs app on the hosting service "dotcloud".
My nodejs uses the package "websocket" to handle communications.
ie. npm install websocket
My app works great when it's running on ...
3
votes
2
answers
455
views
Different versions of the same configuration file in different branches
We are using dotCloud, a virtual host, to run some of our apps. dotCloud deploys apps directly from a git repo, and reads a configuration file called dotcloud.yml from that repo to configure and run ...
3
votes
1
answer
2k
views
Why MongoDB does not recognize my user on Celery connection?
I have a Python/Flask webapp with MongoDB database on DotCloud hosting.
I would like to set up Celery on the Python service using the MongoDB service as the Celery queue.
Celery starts and it finds ...
3
votes
1
answer
111
views
Python on Dotcloud Crashes on certain functions
so I'm running a flask python app on dotcloud, and I'm basically trying to hash a password (using hashlib.sha512; the salt is uuid.uuid4().bytes).
user_dict['salt'] = uuid.uuid4().bytes
print_stderr(...
3
votes
1
answer
2k
views
Solr Admin not found: "missing core name in path"
I'm running solr on dotcloud for my django app (using haystack) and am running into some trouble. I receive a 404 "missing core name in path" message when trying to access the admin, despite the fact ...
3
votes
0
answers
720
views
How can I minimise connections with django-celery when using CloudAMQP through dotcloud?
After spending a few weeks getting django-celery-rabbitmq working on dotcloud I have discovered that dotcloud is no longer supporting rabbitmq. Instead they recommend CloudAMQP. So I've set up ...
3
votes
0
answers
370
views
web2py deployment on dotcloud
Has anyone managed to deploy web2py app on dotcloud using their latest CLI?
I've tried following their old doc: http://olddocs.dotcloud.com/tutorials/web2py, to deploy the standard web2py. It just ...
2
votes
3
answers
5k
views
SSL Error: CERT_UNTRUSTED on dotCloud
I'm seeing the following error when deploying a Node.js service on dotCloud:
23:03:59.958870: [www] npm ERR! Error: SSL Error: CERT_UNTRUSTED
23:03:59.959405: [www] npm ERR! at ClientRequest.<...
2
votes
3
answers
260
views
How can I run this app on Heroku or similar?
I would like to get this app:
https://github.com/lysol/typeto.me/
running on Heroku (or some similar service).
What steps would I need to follow? I'm having a great deal of trouble understanding ...
2
votes
1
answer
929
views
Django Management Command Cron on Dotcloud
I'm trying to run a cron to run a custom Django management command. I'm running on DotCloud.
When the cron runs, I get the following error:
Traceback (most recent call last):
File "./manage.py", ...
2
votes
2
answers
1k
views
using dotcloud env variables in nginx.conf
dotcloud provides lots of useful information as environment variables but my nginx.conf cannot access environment variables. What's a good way around this?
Here's the scenario: I'd like to redirect ...
2
votes
2
answers
1k
views
Deploy Django app with apache + mod_wsgi + postgresql + nginx + memchache using DotCloud
I am new to django development and overall web app development, but I am a programmer.
I want to know what are the steps to deploying a django app on DotCloud that will run on an apache server with ...
2
votes
4
answers
547
views
How to push a Git update for my Rails app on DotCloud.com without loosing the SQLite prod db
This could be a noob problem but I couldn't find a solution so far.
I'm developing a Rails app locally that uses SQLite, I've set up a local Git repo, and the dotcloud push command is using this. ...
2
votes
1
answer
351
views
Dotcloud www and TCP in single app -
I'm trying to get a nodejs socket server running that will allow remote communication between two clients running a Flash game that communicates using a custom protocol. Due to Flash security ...
2
votes
2
answers
506
views
How can I exclude database.yml from a git repo while still being able to push to dotCloud?
I want to add a remote git collaborator on one of my projects, but I do not want to have him access my passwords in database.yml. I know how to .gitignore database.yml and purge the repo accordingly, ...
2
votes
1
answer
868
views
Base path in paster configuration
I'm trying to deploy some Pyramid code to dotcloud. Unfortunately some paths are not mapped in the same way as in local paster deployment. When I'm running the development configuration with local ...
2
votes
1
answer
432
views
uWSGI error perl application not found
When following the basic setup example for a perl service on dotcloud ("ramen app example") I keep getting a "uWSGI error Perl application not found" when I do a "dotcloud push" and then "dotcloud ...
2
votes
2
answers
488
views
How can I get the real client ip on dotcloud?
I use dancer perl for my web on dotcloud. I know the problem is the setting for nginx. But I try my way to add the nginx.conf like this.
location / {
proxy_pass http://127.0.0.1:80;
...
2
votes
2
answers
126
views
Thin on dotcloud
I have tried to install Thin on dotcloud, following the official document, but i failed.
"Thin:up..." appears on the cli, but I can't see it running by opening the url of the webapp
P.S. I don't run ...
2
votes
1
answer
213
views
I have a custom domain in dotcloud, how do i add ssl on the custom domain
The dotcloud domain works with https, i.e.
https://xxxx-username.dotcloud.com/
but how do i add that to the custom domain?
https://mydomain.com
2
votes
2
answers
58
views
How to add one extension to standard stack after Pinky?
From this article I understand that after September 14th CloudControl will have PHP 5.6 as new standard PHP version and a list of extensions enabled by default.
I understood that these extensions are ...
2
votes
1
answer
307
views
Dotcloud: running manage.py background service
I have a Django application that needs to access web APIs that are rate-limited by API key. To manage requests to the API, I've created a simple background server that polls my Django ORM for ...
2
votes
1
answer
3k
views
Dotcloud supervisord shows error but process is running
My dotcloud setup (django-celery with rabbitmq) was working fine a week ago - the processes were starting up ok and the logs were clean. However, I recently repushed (without updating any of the code),...
2
votes
1
answer
332
views
server push for django on dotcloud
What are the current options for implementing server push with a dotcloud app hosted django app? (similar to socket.io on node, channel api with appengine or apache comet)
2
votes
1
answer
126
views
What does @_request.env['HTTP_X_MY_TOKEN'] return?
I'm not a ruby or rails programmer, but I'm tasked with reverse engineering an API for an RoR app. My HTTP POST requests are failing a validation check, where this line is supposed to provide a ...