From 8b6787226f357cbd7a25808e0f001e2ddde78248 Mon Sep 17 00:00:00 2001 From: Florian Loedermann Date: Mon, 15 Feb 2016 10:46:06 +0100 Subject: [PATCH] Working swarm config for giantswarm --- swarm.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/swarm.json b/swarm.json index 0093789..0ba9db6 100644 --- a/swarm.json +++ b/swarm.json @@ -4,6 +4,13 @@ "appserver": { "image": "floedermann/jobscheduler:latest", "ports": [4444, 40444], + "env": [ + "MYSQL_ENV_MYSQL_USER=jobscheduler", + "MYSQL_ENV_MYSQL_PASSWORD=jobscheduler", + "MYSQL_PORT_3306_TCP_ADDR=mysql", + "MYSQL_PORT_3306_TCP_PORT=3306", + "MYSQL_ENV_MYSQL_DATABASE=jobscheduler" + ], "domains": { "4444": "jobscheduler-$GIANTSWARM_LOGIN_NAME.gigantic.io" },