{"id":21855611,"url":"https://github.com/zeropsio/recipe-spring","last_synced_at":"2026-02-18T17:32:10.131Z","repository":{"id":250560105,"uuid":"834794926","full_name":"zeropsio/recipe-spring","owner":"zeropsio","description":"Zerops w/ Spring","archived":false,"fork":false,"pushed_at":"2024-07-28T17:00:45.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-23T05:50:36.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeropsio.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":"2024-07-28T11:40:01.000Z","updated_at":"2024-07-28T17:07:13.000Z","dependencies_parsed_at":"2024-11-28T02:16:42.732Z","dependency_job_id":"fed46cec-7b11-4489-9f4a-ecdf214b7cb8","html_url":"https://github.com/zeropsio/recipe-spring","commit_stats":null,"previous_names":["zeropsio/recipe-spring"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zeropsio/recipe-spring","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-spring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-spring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-spring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-spring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeropsio","download_url":"https://codeload.github.com/zeropsio/recipe-spring/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropsio%2Frecipe-spring/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29587086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T16:55:40.614Z","status":"ssl_error","status_checked_at":"2026-02-18T16:55:37.558Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-28T02:16:34.579Z","updated_at":"2026-02-18T17:32:10.080Z","avatar_url":"https://github.com/zeropsio.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zerops x Spring\n\n[Spring](https://spring.io/) is world's most popular Java framework\ndesigned for building enterprise-level Java applications.\nThis recipe aims to showcase basic Spring concepts and how to integrate them with [Zerops](https://zerops.io),\nall through a simple file upload demo application.\n\n![spring-cover](https://github.com/zeropsio/recipe-shared-assets/blob/main/covers/svg/cover-spring.svg)\n\n\u003cbr/\u003e\n\n## Deploy on Zerops\n\nYou can either click the deploy button to deploy directly on Zerops, or manually copy\nthe [import yaml](https://github.com/zeropsio/recipe-spring/blob/main/zerops-project-import.yml)\nto the import dialog in the Zerops app.\n\n[![Deploy on Zerops](https://github.com/zeropsio/recipe-shared-assets/blob/main/deploy-button/green/deploy-button.svg)](https://app.zerops.io/recipe/spring)\n\n\u003cbr/\u003e\n\n## Recipe features\n\n- **Load balanced** Spring web app running on **Zerops Java** service\n- Served by production-ready embedded application server **[Tomcat](https://spring.io/)**\n- Zerops **PostgreSQL 16** service as database\n- Zerops **Object Storage** (S3 compatible) service as file system\n- Automatic on-startup Spring **database migrations**\n- Utilization of Zerops built-in **environment variables** system\n- Logs accessible through Zerops GUI\n- **[Mailpit](https://github.com/axllent/mailpit)** as **SMTP mock server**\n- **[Adminer](https://www.adminer.org)** for **quick database management** tool\n- Unlocked development experience:\n    - Access to database and mail mock through Zerops project VPN (`zcli vpn up`)\n    - Prepared `.env.dist` file (`cp .env.dist .env` and change ***** secrets found in Zerops GUI)\n\n\u003cbr/\u003e\n\n## Production vs. development\n\nBase of the recipe is ready for production, the difference comes down to:\n\n- Use highly available version of the PostgreSQL database (change `mode` from `NON_HA` to `HA` in recipe YAML, `db`\n  service section)\n- Use at least two containers for Spring service to achieve high reliability and resilience (add `minContainers: 2` in\n  recipe YAML, `api` service section)\n- Use production-ready third-party SMTP server instead of Mailpit (change `MAIL_` secret variables in recipe YAML `api`\n  service)\n- Disable public access to Adminer or remove it altogether (remove service `adminer` from recipe YAML)\n\n\u003cbr/\u003e\n\n## Changes made over the default installation\n\nIf you want to modify your existing Spring app to efficiently run on Zerops, these are the general steps we took:\n\n- Add [zerops.yml](https://github.com/zeropsio/recipe-spring/blob/main/zerops.yml) to your repository, our example\n  includes migrations and build process\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\nNeed help setting your project up? Join [Zerops Discord community](https://discord.com/invite/WDvCZ54).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropsio%2Frecipe-spring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeropsio%2Frecipe-spring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropsio%2Frecipe-spring/lists"}