{"id":38725708,"url":"https://github.com/freva-org/freva-service-config","last_synced_at":"2026-01-20T18:03:43.070Z","repository":{"id":106335335,"uuid":"547689717","full_name":"freva-org/freva-service-config","owner":"freva-org","description":"Configurations for all freva services (apache Solr, MySQL)","archived":false,"fork":false,"pushed_at":"2025-12-20T03:45:12.000Z","size":10211,"stargazers_count":0,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-17T20:35:05.173Z","etag":null,"topics":["atmospheric-science","database","earth-science","solr-server"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/freva-org.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-10-08T05:22:28.000Z","updated_at":"2025-12-14T22:36:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"e118b000-5e17-4075-ad7c-2375c60b162f","html_url":"https://github.com/freva-org/freva-service-config","commit_stats":{"total_commits":45,"total_committers":5,"mean_commits":9.0,"dds":0.5333333333333333,"last_synced_commit":"c672058035fe745eb4b0d1c031a0760d2f8fe8b8"},"previous_names":["freva-org/freva-service-config"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/freva-org/freva-service-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freva-org%2Ffreva-service-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freva-org%2Ffreva-service-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freva-org%2Ffreva-service-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freva-org%2Ffreva-service-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freva-org","download_url":"https://codeload.github.com/freva-org/freva-service-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freva-org%2Ffreva-service-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["atmospheric-science","database","earth-science","solr-server"],"created_at":"2026-01-17T11:15:26.763Z","updated_at":"2026-01-20T18:03:43.042Z","avatar_url":"https://github.com/freva-org.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Freva services\n\nThis repository holds all definitions for Docker images to create services\nthat are needed to run Freva in production and development mode. Currently\nthose services are:\n\n- MySQL\n- MongoDB\n- Apache Solr\n- Redis\n- Keycloak Open ID Connect service via OpenLDAP federation\n\n### Building the containers images locally\nUse `./local-build.sh` to build all service images locally.\nAdd the --check flag to run built-in healthchecks after the build.\nThe script supports both Docker and Podman, and will fail immediately\nif any build or check fails:\n\n```console\nbash local-build.sh --check\n```\n\n## Production Usage\n\u003e [!CAUTION]\n\u003e A manual setup of the service will most likely fail. You should set up this\n\u003e service via the [freva-deployment](https://freva-deployment.readthedocs.io/en/latest/)\n\u003e routine.\n\n## Development Usage\nDevelopment environments should submodule this repository. See the\n[freva-nextgen](https://github.com/freva-org/freva-nextgen) as an example.\n\n## Keycloak\nFor development purpupose [Keycloak](https://www.keycloak.org) is pre configured\nas an identity provider.\nThe keycloak configuration defines a *freva* realm. The realm defines a\n``client_id=freva``. This freva realm has also\nand openLDAP server configured. The openLDAP server configuration defines a\ncouple of dummy users:\n\n- uid: johndoe, password: johndoe123, mail: john@example.com\n- uid: janedoe, password: janedoe123, mail: jane@example.com\n- uid: alicebrown, password: alicebrown123, mail: alice@example.com\n- uid: bobsmith, password: bobsmith123, mail: bob@example.com\n- uid: lisajones, password: lisajones123, mail: lisa@example.com\n- uid: bobsmith, password: bobsmith123, mail: bob@existing.com\n\n### Backup of data\nIf you need a simple backup functionality, you can add the `daily_backup.sh`\nscript in the same manner.\n\nSetting up the volumes as outlined above will instruct the containers to\nautomatically creating new MariaDB tables (if not existing) and Solr cores\n(if not existing).\n\n\nIf you added the `daily_backup.sh` files via a volume to the container you can\nsetup simple crontab to create backups on the *host* machine running\nthe container. A simple crontab example could like like this.\n\n```\n# m    h    dom   mon    dow      command\n0      5    *     *      *        docker exec container-name bash -c /usr/local/bin/daily_backup\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreva-org%2Ffreva-service-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreva-org%2Ffreva-service-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreva-org%2Ffreva-service-config/lists"}