mirror of
https://github.com/Dokploy/templates.git
synced 2026-11-10 01:33:12 -06:00
* fix: change "ports" -> "expose" for multiple services * chore: remove helper script
20 lines
432 B
YAML
20 lines
432 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}
|
|
expose:
|
|
- ${SERVER_PORT}
|
|
user: container
|
|
|
|
volumes:
|
|
app-data: {}
|