Title: Deploy Java on velixir - velixir
Open Graph Title: Deploy Java on velixir - velixir
X Title: Deploy Java on velixir - velixir
Description: Java hosting on velixir: deploy Spring Boot, Quarkus, and any JVM app from source with no Dockerfile. Managed Postgres, autoscaling, EU data residency.
Open Graph Description: Java hosting on velixir: deploy Spring Boot, Quarkus, and any JVM app from source with no Dockerfile. Managed Postgres, autoscaling, EU data residency.
X Description: Java hosting on velixir: deploy Spring Boot, Quarkus, and any JVM app from source with no Dockerfile. Managed Postgres, autoscaling, EU data residency.
Opengraph URL: https://velixir.net/languages/java
Domain: velixir.net
{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Which Java versions does velixir support?","acceptedAnswer":{"@type":"Answer","text":"Java 21 (LTS) is the default and Java 17 (LTS) is fully supported, along with 20 and 19 for teams tracking newer releases and legacy 11 and 8 for older codebases. Pin whichever you need by setting NIXPACKS_JDK_VERSION, so your build matches the runtime your app was written and tested against."}},{"@type":"Question","name":"Do I need a Dockerfile or to build the JAR myself?","acceptedAnswer":{"@type":"Answer","text":"No. velixir detects Maven (pom.xml) or Gradle (build.gradle) automatically, runs the build server-side, and packages the resulting fat JAR into a container image. You just push source (the velixir CLI, GitHub Actions, or a dashboard upload) and the build, image, and registry push all happen for you."}},{"@type":"Question","name":"How do I deploy a Spring Boot app and set the port?","acceptedAnswer":{"@type":"Answer","text":"Deploy it like any other project: push the repo and velixir builds and runs it. velixir provides a PORT environment variable, so bind your embedded Tomcat or Netty server to it (for example server.port=${PORT} in Spring Boot, or the equivalent in Quarkus or Micronaut) and your app is reachable behind HTTPS with zero-downtime rolling deploys."}},{"@type":"Question","name":"Can my Java app use a managed database and cache?","acceptedAnswer":{"@type":"Answer","text":"Yes. Managed Postgres and Valkey (Redis-compatible) are included and billed hourly in EUR. Point your Spring Data JPA, Hibernate, or JDBC datasource at the managed Postgres and use Valkey for caching, sessions, or queues. Connection details are injected as environment variables, so there is nothing to self-host or patch."}}]}
| theme-color | #030712 |
| og:type | website |
| og:site_name | velixir |
| og:locale | en_GB |
| twitter:card | summary |
Links:
Viewport: width=device-width, initial-scale=1.0