{"id":15600630,"url":"https://github.com/flopezag/openshift-wirecloud","last_synced_at":"2025-08-05T22:16:38.103Z","repository":{"id":80957835,"uuid":"143295329","full_name":"flopezag/openshift-wirecloud","owner":"flopezag","description":"Dockerfile description of the FIWARE Wirecloud component in order to install in OpenShift","archived":false,"fork":false,"pushed_at":"2018-08-14T09:01:42.000Z","size":28,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T12:27:03.244Z","etag":null,"topics":["fiware","fiware-wirecloud","kubernetes-deployment","openshift"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flopezag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-02T13:00:43.000Z","updated_at":"2018-08-14T09:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"30a0c26a-ac42-405e-90a3-16c1ff8f9013","html_url":"https://github.com/flopezag/openshift-wirecloud","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":"0.19999999999999996","last_synced_commit":"2e66e1757963f7c7f4845ce18ffeb557415e6644"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/flopezag/openshift-wirecloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flopezag%2Fopenshift-wirecloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flopezag%2Fopenshift-wirecloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flopezag%2Fopenshift-wirecloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flopezag%2Fopenshift-wirecloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flopezag","download_url":"https://codeload.github.com/flopezag/openshift-wirecloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flopezag%2Fopenshift-wirecloud/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268983319,"owners_count":24340001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fiware","fiware-wirecloud","kubernetes-deployment","openshift"],"created_at":"2024-10-03T02:05:05.964Z","updated_at":"2025-08-05T22:16:38.053Z","avatar_url":"https://github.com/flopezag.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenShift FIWARE Wirecloud docker image\n[![License badge](https://img.shields.io/badge/license-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nDockerfile description and OpenShift configuration file of the [FIWARE Wirecloud](https://github.com/Wirecloud/wirecloud)\nenabler in order to create a docker image and deploy a corresponding service instance in \nan OpenShift environment.\n\n## Create the Docker Image\n\nThe first steps is to login inside the docker system through the execution of\nthe command:\n\n```console\ndocker login\n```\n\nIn order to create the proper image you need to have installed docker engine.\nThe first command is used to generate the docker image from the defined Dockerfile.\n\n```console\ndocker build -f Dockerfile -t flopez/wirecloud:1.1 .\n```\n\nIt creates the corresponding docker image tagged with flopez/wirecloud. Currently, \nthe only version that was supported and generated is the 1.1. Down versions to 1.1 \nare on a best-effort basis. The next step is upload the image into a repository \n(in our case [Docker Hub](https://hub.docker.com/)).\n\n```console\ndocker push flopez/wirecloud:1.1\n```\n\n\n## OpenShift deployment\n\nTo start to work with OpenShift, you need to be registered in the corresponding \nenvironment. Just execute the following command:\n\n```console\noc login \u003cOpenShift server\u003e\n```\n\nThis command will request you the username and password to access to the proper \nOpenShift environment. Now, to deploy a new application, the first step is the \ncreation of the proper application in the OpenShift environment. Just execute \nthe command:\n\n```console\noc new-app -e POSTGRES_DATABASE=\u003cname of the PostgreSQL database\u003e \\\n           -e POSTGRES_HOSTNAME=\u003cPostgreSQL hostname\u003e \\\n           -e POSTGRES_PASSWORD=\u003cPostgreSQL user password\u003e \\\n           -e POSTGRES_USER=\u003cPostgreSQL username\u003e \\\n           flopez/wirecloud:1.1 \\\n           --name wirecloud \\\n           -o yaml \u003e wirecloud.yaml\n```\n\nKeep in mind that it is needed to specify the postgresql server hostname inside \nthe OpenShift environment in order to know to which DB should be connected the \nWirecloud instance. The docker image flopez/wirecloud is deployed publicly\nin [Hub Docker public repository](https://hub.docker.com/r/flopez/wirecloud/). This \noperation will create the definition of the new application *wirecloud* with the \ncorresponding yaml description file. We do not use this created description file \nbut the one that we provided, due to we need to edit the content. You can compare \nthe generated description application with the content inside the \n[config folder](https://github.com/flopezag/openshift-wirecloud/config) \nto see the differences. Finally, keep in mind that in OpenShift the hostname of \nthe different services follow the next format:\n\n```text\n\u003cservice name\u003e.\u003cproject name\u003e.svc\n```\n\nFurthermore, to deploy our *wirecloud* application just execute the corresponding \ncommand:\n\n```console\noc create -f config/\n```\n\nLast but not least, if we want to delete completely all the resources generated \nwith these configuration files, just execute the corresponding command, specifying \nthe name of the application that was created in the execution of the ```oc new-app``` \ncommand:\n\n```console\noc delete all -l app=wirecloud\n```\n\n## Docker Compose deployment\n\nThe [docker-compose folder](https://github.com/flopezag/openshift-wirecloud/config)\nprovides you the corresponding docker-compose description file in order to deploy\na complete instance of FIWARE Wirecloud using docker-compose. Just execute the \ncommand with the proper definition of the postgreSQL DB environment variables:\n\n```console\ndocker-compose up -d\n```\n\n## License\n\nThese scripts are licensed under Apache License 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflopezag%2Fopenshift-wirecloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflopezag%2Fopenshift-wirecloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflopezag%2Fopenshift-wirecloud/lists"}