if you change the environment variable for CELLS_EXTERNAL I don’t see the pydio.json get updated upon restarting the container. Why have those values “hard coded” anyway when they should be “variable”?
Hello,
if you change the environment variable for CELLS_EXTERNAL I don’t see the pydio.json get updated upon restarting the container. Why have those values “hard coded” anyway when they should be “variable”?
In Cells before 2.2 (that is about to be released), the CELLS_INTERNAL/EXTERNAL variables are only used at installation time, aka by the cells install
command and ignored otherwise.
If you want to change the network configuration of an already installed instance, typically to fullfill your use cas of testing in the intranet, going live on the www, you can use the command cells config proxy url
to adapt the config.
Thus said, good news is that we have worked on this for the next 2.2 release (and it was no “quick win”) but we are nearly there.
In the RC3 (docker pull pydio/cells:2.2.0-rc3
or here: Index of /pub/cells/release ), I think that half or your problem is already addressed:
- the external URL is not compulsory anymore, F.I. launching your instance like this on your local machine:
docker run -p 8080:8080 pydio/cells:2.2.0-rc3
, you can access the installer athttps://localhost:8080
,https://<your ip>:8080
,https://<whatever FQDN that is in your host files>:8080
, … etc. - you can define more than one bind port: Cells exposes sites that can be later used to present different data, manage policies and so on., depending on the URL you have requested
- the external URL for each site (that is mainly used for share links and notif. emails) can be later defined via the admin console or is deducted from the bind address by the server
Yet, this configuration cannot yet be defined dynamically at each start. We are currently working on this and nearly there and hope that we could add this in the RC4, we have re-added this in our target, (among others due to your feedback )
Could you already, have a look at the rc3 and tell us what you think ?
For the record, documentation in docker hub is not yet valid for the 2.2 (should be backward compatible but does not use the latest feature) but you have some relevant examples in the code here:
https://github.com/pydio/cells/tree/master/tools/docker and in the compose sub-folder.
Do not hesitate to tell if something is not clear or seems to be uncorrect
@J_V, for info, there is a draft RC4 that implements this: you might give a try and give us feedback.
docker pull pydio/cells:2.2.0-rc4
We are currently working on the documentation for the major simplifications that are introduced with 2.2 release, so you are a bit on your own for now, but main tip is: CELLS_BIND
env variable takes precedence over sites that are stored in the local config (a.k.a: the pydio.json)
GA should come within a week or two
Please let us know what you think. Thanks!
For the record, the 2.2 is out and we have updated the doc both on the hub and on our website.
We would be glad to hear your feedback.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.