Switch to the new Digital Ocean Docker image.
This commit is contained in:
parent
4ae40b7370
commit
bf60862d8e
2 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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, [],
|
||||
|
|
Reference in a new issue