Adapting deeployer to new format
authorDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 22 Apr 2020 10:31:17 +0000 (12:31 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 22 Apr 2020 10:31:17 +0000 (12:31 +0200)
deeployer.libsonnet

index 4e44db34169c0cc0762b2f45efdef2ed87b67773..7927dd5abb4d0ef87a141c7797b8c45081c8357e 100644 (file)
@@ -6,7 +6,9 @@
   "containers": {
      "back": {
        "image": "thecodingmachine/workadventure-back:"+tag,
-       "host": "api."+namespace+".workadventure.test.thecodingmachine.com",
+       "host": {
+         "url": "api."+namespace+".workadventure.test.thecodingmachine.com"
+       },
        "ports": [8080],
        "env": {
          "SECRET_KEY": "tempSecretKeyNeedsToChange"
@@ -14,7 +16,9 @@
      },
     "front": {
       "image": "thecodingmachine/workadventure-front:"+tag,
-      "host": namespace+".workadventure.test.thecodingmachine.com",
+      "host": {
+        "url": namespace+".workadventure.test.thecodingmachine.com"
+      },
       "ports": [80],
       "env": {
         "API_URL": "http://api."+namespace+".workadventure.test.thecodingmachine.com"