|
10 | 10 |
|
11 | 11 | # What is WireCloud? |
12 | 12 |
|
| 13 | +[](https://www.fiware.org/developers/catalogue/) |
| 14 | +[](https://stackoverflow.com/questions/tagged/fiware-wirecloud) |
| 15 | + |
13 | 16 | WireCloud builds on cutting-edge end-user development, RIA and semantic technologies to offer a next-generation end-user centred web application mashup platform aimed at leveraging the long tail of the Internet of Services. WireCloud builds on cutting-edge end-user (software) development, RIA and semantic technologies to offer a next-generation end-user centred web application mashup platform aimed at allowing end users without programming skills to easily create web applications and dashboards/cockpits (e.g. to visualize their data of interest or to control their domotized home or environment). Web application mashups integrate heterogeneous data, application logic, and UI components (widgets) sourced from the Web to create new coherent and value-adding composite applications. They are targeted at leveraging the "long tail" of the Web of Services (a.k.a. the Programmable Web) by exploiting rapid development, DIY, and shareability. They typically serve a specific situational (i.e. immediate, short-lived, customized) need, frequently with high potential for reuse. Is this "situational" character which precludes them to be offered as 'off-the-shelf' functionality by solution providers, and therefore creates the need for a tool like WireCloud |
14 | 17 |
|
15 | | -WireCloud is part of [FIWARE](https://www.fiware.org/). Check it out in the [Catalogue](https://catalogue.fiware.org/enablers/application-mashup-wirecloud) |
| 18 | +WireCloud is part of [FIWARE](https://www.fiware.org/). Check it out in the [Catalogue](https://www.fiware.org/developers/catalogue/) |
16 | 19 |
|
17 | 20 | [](https://github.com/Wirecloud/wirecloud) |
18 | 21 |
|
@@ -58,6 +61,25 @@ appropriately. |
58 | 61 | [ALLOWED_HOSTS]: https://docs.djangoproject.com/en/2.1/ref/settings/#allowed-hosts |
59 | 62 |
|
60 | 63 |
|
| 64 | +### Docker Secrets |
| 65 | + |
| 66 | +As an alternative to passing sensitive information via environment variables, `_FILE` may be appended to some sensitive |
| 67 | +environment variables, causing the initialization script to load the values for those variables from files present in |
| 68 | +the container. In particular, this can be used to load passwords from Docker secrets stored in |
| 69 | +`/run/secrets/<secret_name>` files. For example: |
| 70 | + |
| 71 | +```console |
| 72 | +docker run --name wirecloud -e DB_PASSWORD_FILE=/run/secrets/password -d fiware/wirecloud |
| 73 | +``` |
| 74 | + |
| 75 | +Currently, this `_FILE` suffix is supported for: |
| 76 | + |
| 77 | +- `DB_PASSWORD` |
| 78 | +- `DB_USERNAME` |
| 79 | +- `SOCIAL_AUTH_FIWARE_KEY` |
| 80 | +- `SOCIAL_AUTH_FIWARE_SECRET` |
| 81 | + |
| 82 | + |
61 | 83 | ## Running manage.py commands |
62 | 84 |
|
63 | 85 | You can run any available `manage.py` command by using `docker exec -ti some-wirecloud manage.py ...`. For example, you can create superusers/administrators by running the following command: |
@@ -205,6 +227,7 @@ http { |
205 | 227 | Run `docker stack deploy -c docker-compose.yml wirecloud` (or `docker-compose -f docker-compose.yml up`), wait for it to initialize completely, and visit `http://swarm-ip`, `http://localhost`, or `http://host-ip` (as appropriate). Also, take into account that you should configure https to have a production-ready deployment of WireCloud (not covered by this example). |
206 | 228 |
|
207 | 229 |
|
| 230 | + |
208 | 231 | ## Customizations |
209 | 232 |
|
210 | 233 | If you want to customize your WireCloud installation, the best option is to create a new docker image by extending one of the official images and installing new modules. For example, you can follow the following [tutorial](https://wirecloud.readthedocs.io/en/stable/development/platform/themes/) for creating a custom theme and install it on the extended image and use the `DEFAULT_THEME` environment variable to configure it as the default theme. |
@@ -327,7 +350,6 @@ $ docker-compose up -d |
327 | 350 |
|
328 | 351 | This docker-compose configuration will detect when the WireCloud configuration is missing and, in that case, it will populate the volume at `/opt/wirecloud_instance` (mapped to the local `wirecloud_instance` folder), the database and the `/var/www/static` volume (mapped to the local `static` folder). This initial configuration will not include any administrator user so, please create one using the `createsuperuser` command. |
329 | 352 |
|
330 | | - |
331 | 353 | # License |
332 | 354 |
|
333 | 355 | View license information for [WireCloud](https://github.com/Wirecloud/wirecloud/blob/develop/LICENSE.txt). |
|
0 commit comments