use infra_version.js in addons.js

This commit is contained in:
Girish Ramakrishnan
2016-05-24 13:06:59 -07:00
parent aff9ff47bc
commit 8429985253
+2 -1
View File
@@ -28,6 +28,7 @@ var appdb = require('./appdb.js'),
fs = require('fs'),
generatePassword = require('password-generator'),
hat = require('hat'),
infra = require('./infra_version.js'),
once = require('once'),
path = require('path'),
paths = require('./paths.js'),
@@ -752,7 +753,7 @@ function setupRedis(app, options, callback) {
name: 'redis-' + app.id,
Hostname: 'redis-' + app.location,
Tty: true,
Image: 'cloudron/redis:0.8.0', // if you change this, fix src/INFRA_VERSION as well
Image: infra.images.redis.tag,
Cmd: null,
Volumes: {
'/tmp': {},