Пример #1
0
def _editor_cloud9_docker_vars():
    return {
        'image': 'adamw523/editor_cloud9',
        'tag': 'latest',
        'work_dir': '/home/%s/docker/editor_cloud9_work/' % env.user,
        'ids_dir': '/home/%s/docker/ids/' % env.user,
        'public_c9_port': 3131,
        'proxy_url': 'http://%s:3128' % (docker_utils.bridge_ip())
    }
Пример #2
0
def _ipython_docker_vars():
    return {
        'image': 'adamw523/ipython',
        'tag': 'latest',
        'work_dir': '/home/%s/docker/ipython_work/' % env.user,
        'ids_dir': '/home/%s/docker/ids/' % env.user,
        'public_ipython_port': 8888,
        'public_ssh_port': 8025,
        'proxy_url': 'http://%s:3128' % (bridge_ip())
    }