diff --git a/setup/INFRA_VERSION b/setup/INFRA_VERSION index 1bb856f7a..e8b6f265e 100644 --- a/setup/INFRA_VERSION +++ b/setup/INFRA_VERSION @@ -3,15 +3,15 @@ # If you change the infra version, be sure to put a warning # in the change log -INFRA_VERSION=11 +INFRA_VERSION=12 # WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING # These constants are used in the installer script as well -BASE_IMAGE=cloudron/base:0.4.0 +BASE_IMAGE=cloudron/base:0.5.1 MYSQL_IMAGE=cloudron/mysql:0.4.0 POSTGRESQL_IMAGE=cloudron/postgresql:0.4.0 MONGODB_IMAGE=cloudron/mongodb:0.4.0 -REDIS_IMAGE=cloudron/redis:0.4.0 # if you change this, fix src/addons.js as well +REDIS_IMAGE=cloudron/redis:0.5.0 # if you change this, fix src/addons.js as well MAIL_IMAGE=cloudron/mail:0.4.0 GRAPHITE_IMAGE=cloudron/graphite:0.4.0 diff --git a/src/addons.js b/src/addons.js index 31dbff159..31b710f0f 100644 --- a/src/addons.js +++ b/src/addons.js @@ -684,9 +684,13 @@ function setupRedis(app, options, callback) { name: 'redis-' + app.id, Hostname: config.appFqdn(app.location), Tty: true, - Image: 'cloudron/redis:0.4.0', // if you change this, fix setup/INFRA_VERSION as well + Image: 'cloudron/redis:0.5.0', // if you change this, fix setup/INFRA_VERSION as well Cmd: null, - Volumes: {}, + Volumes: { + '/tmp': {}, + '/run': {}, + '/var/log': {} + }, VolumesFrom: [] }; @@ -704,6 +708,7 @@ function setupRedis(app, options, callback) { PortBindings: { '6379/tcp': [{ HostPort: '0', HostIp: isMac ? '0.0.0.0' : '127.0.0.1' }] }, + ReadonlyRootfs: true, RestartPolicy: { 'Name': 'always', 'MaximumRetryCount': 0