# Pydio cells docker-compose example does not work

**URL:** <https://forum.pydio.com/t/pydio-cells-docker-compose-example-does-not-work/1882>\
**Category:** Pydio Cells\
**Created:** [November 25, 2018, 11:42pm UTC](https://forum.pydio.com/t/pydio-cells-docker-compose-example-does-not-work/1882 "2018-11-25T23:42:42Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![J\_V](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/j_v/32/1350_2.png) [@J\_V](https://forum.pydio.com/u/J_V)\
**Post date:** [January 12, 2021, 5:51pm UTC](https://forum.pydio.com/t/pydio-cells-docker-compose-example-does-not-work/1882/21 "2021-01-12T17:51:49Z")

</div>

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”?

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [January 19, 2021, 8:58am UTC](https://forum.pydio.com/t/pydio-cells-docker-compose-example-does-not-work/1882/22 "2021-01-19T08:58:47Z")

</div>

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](https://download.pydio.com/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 at `https://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](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

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [January 23, 2021, 11:17am UTC](https://forum.pydio.com/t/pydio-cells-docker-compose-example-does-not-work/1882/23 "2021-01-23T11:17:40Z")

</div>

@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!

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [January 29, 2021, 12:51pm UTC](https://forum.pydio.com/t/pydio-cells-docker-compose-example-does-not-work/1882/24 "2021-01-29T12:51:17Z")

</div>

For the record, the [2.2 is out](https://pydio.com/en/community/releases/pydio-cells/pydio-cells-enterprise-220) and we have updated the doc both [on the hub](https://hub.docker.com/repository/docker/pydio/cells) and [on our website](https://pydio.com/en/docs/cells/v2/docker).

We would be glad to hear your feedback.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [May 16, 2023, 10:30am UTC](https://forum.pydio.com/t/pydio-cells-docker-compose-example-does-not-work/1882/25 "2023-05-16T10:30:07Z")

</div>

Closed on May 16, 2023, 10:30am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://forum.pydio.com/t/pydio-cells-docker-compose-example-does-not-work/1882.md?page=1)
