mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
* Add Java runtime blueprint and metadata Introduces a new Java blueprint with Docker Compose, template configuration, and logo for multi-version Java environments. Updates meta.json to register the Java runtime, supporting versions 8-21 for use cases like Minecraft servers and Spring Boot apps. * Move Java Runtime entry in meta.json Relocated the Java Runtime (Multi-Version) entry within meta.json for improved organization. No changes to the entry's content. * Update template.toml
19 lines
430 B
YAML
19 lines
430 B
YAML
services:
|
|
java-app:
|
|
image: ghcr.io/pterodactyl/yolks:java_${JAVA_VERSION}
|
|
restart: unless-stopped
|
|
stdin_open: true
|
|
tty: true
|
|
volumes:
|
|
- app-data:/home/container
|
|
working_dir: /home/container
|
|
environment:
|
|
- STARTUP=${STARTUP_COMMAND}
|
|
- SERVER_JARFILE=${SERVER_JARFILE}
|
|
- JAVA_VERSION=${JAVA_VERSION}
|
|
ports:
|
|
- ${SERVER_PORT}
|
|
user: container
|
|
|
|
volumes:
|
|
app-data: {} |