Open cphyc opened 8 years ago
In theory, you can change couchdb port with transmit environment variable COUCH_PORT to data-system (https://github.com/cozy/cozy-data-system/blob/master/server/helpers/db_connect_helper.coffee#L18). To transmit this variable, you can use controller configuration file. Add
env: {
{ global : {COUCH_PORT: '<couch_port>'}}
or
env: {
{ 'data-system' : {COUCH_PORT: '<couch_port>'}}
in json sotred in /etc/cozy/controller.json
and reload/restart your controller with supervisorctl reload cozy-controller
and supervisorctl restart cozy-controller
.
Is it possible to change the couchdb port used ? It seems hardcoded in many parts of cozycloud, making it quite hard to change.