Skip to content

Instantly share code, notes, and snippets.

@MikeMichel
Last active May 25, 2016 16:03
Show Gist options
  • Save MikeMichel/1206cdec61de4fc1c82c2b470f2982c0 to your computer and use it in GitHub Desktop.
Save MikeMichel/1206cdec61de4fc1c82c2b470f2982c0 to your computer and use it in GitHub Desktop.
{
"project": "rentit",
"services": [
{
"id": "rentit-ref",
"apps": [
{
"env": {
"POSTGRES_PORT_5432_TCP_ADDR": "postgres.database.rentit",
"POSTGRES_PORT_5432_TCP_PORT": "5432",
"POSTGRES_USERNAME": "postgres",
"POSTGRES_PASSWORD": "12345678"
},
"domain": {
"uri": "rentitmike.sloppy.zone"
},
"mem": 768,
"image": "shepel/rentitsloppy",
"cmd": "java -Xmx192m -Djava.security.egd=file:/dev/./urandom -jar app.jar --spring.profiles.active=production",
"instances": 1,
"dependencies": [
"../../database/postgres"
],
"id": "app",
"health_checks": [],
"volumes": [],
"port_mappings": [
{
"container_port": 8080,
"protocol": "tcp"
}
]
}
]
},
{
"id": "database",
"apps": [
{
"env": {
"POSTGRES_PASSWORD": "12345678",
"POSTGRES_USERNAME": "postgres"
},
"mem": 256,
"image": "postgres",
"instances": 1,
"id": "postgres",
"health_checks": [],
"volumes": []
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment