Skip to content

Instantly share code, notes, and snippets.

@vito
Created May 15, 2012 21:34
Show Gist options
  • Save vito/2705319 to your computer and use it in GitHub Desktop.
Save vito/2705319 to your computer and use it in GitHub Desktop.
minecraft as a service
---
applications:
.:
name: minecraft
framework:
name: standalone
info:
mem: 64M
description: Standalone Application
exec:
runtime: java
command:
'echo "server-port=$VCAP_APP_PORT" > server.properties; echo "server-ip=$VCAP_APP_HOST" >> server.properties; java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui'
url: cloudcraft.${target-base}
mem: 1G
instances: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment