Switch to the new Digital Ocean Docker image.

This commit is contained in:
yackob03 2013-12-23 15:07:10 -05:00
parent 4ae40b7370
commit bf60862d8e
2 changed files with 2 additions and 1 deletions

View file

@ -127,6 +127,7 @@ class DigitalOceanConfig(object):
DO_SSH_KEY_ID = '46986'
DO_SSH_PRIVATE_KEY_FILENAME = 'certs/digital_ocean'
DO_ALLOWED_REGIONS = {1, 4}
DO_DOCKER_IMAGE = 1341147
class BuildNodeConfig(object):

View file

@ -85,7 +85,7 @@ def babysit_builder(request):
api_key=do_api_key,
name=name,
region_id=regions.pop(),
image_id=1004145, # Docker on 13.04
image_id=app.config['DO_DOCKER_IMAGE'],
size_id=66, # 512MB,
backup_active=False)
retry_command(droplet.create, [],