docker-compose.yml: add volumes to preserve local images, cache data, and eventual backups
This commit relies on the possibility to customize the LevelDB directory introduced in https://github.com/inventaire/inventaire/commit/4fb86f6
This commit is contained in:
@@ -21,6 +21,10 @@ module.exports = {
|
||||
username: '${COUCHDB_USER}',
|
||||
password: '${COUCHDB_PASSWORD}',
|
||||
hostname: 'couchdb',
|
||||
backupFolder: '/opt/inventaire_backups',
|
||||
},
|
||||
leveldb: {
|
||||
folder: '/opt/inventaire_leveldb'
|
||||
},
|
||||
elasticsearch: {
|
||||
origin: 'http://elasticsearch:9200',
|
||||
@@ -53,6 +57,9 @@ module.exports = {
|
||||
tenantName: '${SWIFT_TENANT_NAME}',
|
||||
region: '${SWIFT_REGION}',
|
||||
},
|
||||
local: {
|
||||
folder: '/opt/inventaire_local_media_storage'
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user