{"id":21615094,"url":"https://github.com/eea/eea.docker.rancher","last_synced_at":"2025-03-18T16:51:03.388Z","repository":{"id":137839586,"uuid":"46798070","full_name":"eea/eea.docker.rancher","owner":"eea","description":"containers as a service platform at EEA","archived":false,"fork":false,"pushed_at":"2016-10-20T06:35:10.000Z","size":6070,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-24T20:42:57.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rancher.eea.europa.eu","language":"Nginx","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2015-11-24T14:49:12.000Z","updated_at":"2020-02-06T16:22:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"88724d73-4e9b-4377-8d90-a790490159c9","html_url":"https://github.com/eea/eea.docker.rancher","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.rancher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.rancher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.rancher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.rancher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eea","download_url":"https://codeload.github.com/eea/eea.docker.rancher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244266091,"owners_count":20425825,"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","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":[],"created_at":"2024-11-24T22:10:31.237Z","updated_at":"2025-03-18T16:51:03.336Z","avatar_url":"https://github.com/eea.png","language":"Nginx","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EEA Rancher server\n\n**DEPRECATION NOTE**: This github repo is for example deployments only and will not be updated anymore. The production deployment files are in EEASVN see [eea internal wiki](https://taskman.eionet.europa.eu/projects/infrastructure/wiki/Rancher).\n\nThis repo includes the docker-compose orchestration for deployment of a [Rancher server](https://github.com/rancher/rancher/) in [a single node setup](http://docs.rancher.com/rancher/installing-rancher/installing-server/).\n\nIt uses an external mysql service with named volumes.\n\n## How to install it\n\nYou must have Docker and Docker compose installed on your host.\n\nBefore starting the server you must add the secret key file named \"server-eea.key\" under the bind-mounted directory ./ngnix/tls. This adds SSL termination in nginx in front of Rancher [as descirbed in docs](http://docs.rancher.com/rancher/installing-rancher/installing-server/basic-ssl-config/).\n\n```\n# git clone https://github.com/eea/eea.docker.rancher\n# cd eea.docker.rancher\n```\n\nConfigure the secrets\n\n```\n# cp dbsecrets.env-dist dbsecrets.env\n# vi dbsecrets.env\n# cp mysqlsecrets.env-dist mysqlsecrets.env\n# vi mysqlsecrets.env\n```\n\nStart the mysql server and setup the rancher cattle DB as described in [rancher with external database](http://docs.rancher.com/rancher/latest/en/installing-rancher/installing-server/#using-an-external-database). Close the mysql service.\n\nThan finally run the full stack:\n\n```\n# docker-compose up -d\n```\n\nGo to http://yourhost/ to view the Rancher server UI.\n\n## Where is the data?\n\nRancher uses mysql to store all Rancher metadata and settings. In the docker-compose file you can see that we store the data in a named volume.\n\nWe also have a mysql-backup service which will automatically do mysql dumps at certain intervals specified via environment variables. See the [original docker image deitch/mysql-backup/](https://hub.docker.com/r/deitch/mysql-backup/) for more info. The dumps are stored under ./mysql-backup.\n\n## Upgrades\n\nFor supsequent upgrades you just need to pull the new image and bump up the version in the docker-compose.yml file and restart, in the example below we use v1.1.0.\n\n```\n# docker pull rancher/server:v1.1.0\n# vi docker-compose.yml # bump-up the version and save\n# docker-compose up -d\n```\n\nSee the [rancher official upgrade documentation](http://docs.rancher.com/rancher/upgrading/).\n\n## Troubleshooting\n\nSee more on [official page](http://docs.rancher.com/rancher/faqs/troubleshooting/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.rancher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feea%2Feea.docker.rancher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.rancher/lists"}