redis: use readonly rootfs
This commit is contained in:
@@ -3,15 +3,15 @@
|
|||||||
# If you change the infra version, be sure to put a warning
|
# If you change the infra version, be sure to put a warning
|
||||||
# in the change log
|
# in the change log
|
||||||
|
|
||||||
INFRA_VERSION=11
|
INFRA_VERSION=12
|
||||||
|
|
||||||
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
|
# WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
|
||||||
# These constants are used in the installer script as well
|
# 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
|
MYSQL_IMAGE=cloudron/mysql:0.4.0
|
||||||
POSTGRESQL_IMAGE=cloudron/postgresql:0.4.0
|
POSTGRESQL_IMAGE=cloudron/postgresql:0.4.0
|
||||||
MONGODB_IMAGE=cloudron/mongodb: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
|
MAIL_IMAGE=cloudron/mail:0.4.0
|
||||||
GRAPHITE_IMAGE=cloudron/graphite:0.4.0
|
GRAPHITE_IMAGE=cloudron/graphite:0.4.0
|
||||||
|
|
||||||
|
|||||||
@@ -684,9 +684,13 @@ function setupRedis(app, options, callback) {
|
|||||||
name: 'redis-' + app.id,
|
name: 'redis-' + app.id,
|
||||||
Hostname: config.appFqdn(app.location),
|
Hostname: config.appFqdn(app.location),
|
||||||
Tty: true,
|
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,
|
Cmd: null,
|
||||||
Volumes: {},
|
Volumes: {
|
||||||
|
'/tmp': {},
|
||||||
|
'/run': {},
|
||||||
|
'/var/log': {}
|
||||||
|
},
|
||||||
VolumesFrom: []
|
VolumesFrom: []
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -704,6 +708,7 @@ function setupRedis(app, options, callback) {
|
|||||||
PortBindings: {
|
PortBindings: {
|
||||||
'6379/tcp': [{ HostPort: '0', HostIp: isMac ? '0.0.0.0' : '127.0.0.1' }]
|
'6379/tcp': [{ HostPort: '0', HostIp: isMac ? '0.0.0.0' : '127.0.0.1' }]
|
||||||
},
|
},
|
||||||
|
ReadonlyRootfs: true,
|
||||||
RestartPolicy: {
|
RestartPolicy: {
|
||||||
'Name': 'always',
|
'Name': 'always',
|
||||||
'MaximumRetryCount': 0
|
'MaximumRetryCount': 0
|
||||||
|
|||||||
Reference in New Issue
Block a user