conf.prod.json 2.85 KB
Newer Older
nabil el mahiri committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
{
    "http": {
        "url": "https://agences2.atlasvoyages.com",
        "middleware": {
            "session": {
                "secret": "lk1jd4896?dLkd@52"
            }
        }
    },
    "logging": {
        "DailyRotateFile": {
            "timestamp": true,
            "filename": "/mnt/logs/atlas-agences/pine.log",
            "maxsize": 52428800,
            "maxFiles": 10,
            "json": false,
            "prettyPrint": true,
            "level": "debug"
        }
    },
    "mongo": {
        "uri": "mongodb://172.30.1.185:27017/atlasagences-prod"
    },
    "redis": {
        "url": "redis://127.0.0.1:6379",
        "namespace": "ava"
    },
    "payments": {},
  "apollo":{
    "base":"https://apollo.atlasvoyages.com",
    "resolve-airlines":"/airlines?qt=codes&codes=:codes",
    "resolve-airports":"/airports?qt=codes&codes=:codes",
    "resolve-aircrafts":"/aircrafts?qt=codes&codes=:codes"
  },
"html": {
      "analytics":{
        "ga":{
          "id":"UA-42568632-1",
          "domain":"auto"
        }
      }
  },
    "hermes": {
        "attUsers": true,
        "key": "f908763f068de785aa6d57225ca7374f1bb0cbfb1113ef8b0108d9a7",
        "links": {
            "base": "http://localhost:4000",
            "orders": "http://hermes1.atlasvoyages.com/orders",
            "quotes": "http://hermes1.atlasvoyages.com/quotes",
            "properties": "http://hermes1.atlasvoyages.com/properties",
            "destinations": "http://hermes1.atlasvoyages.com/destinations",
            "profiles": "http://hermes1.atlasvoyages.com/heracles/channel/key",
            "customers": "https://attws.atlasvoyages.com/services/att",
            "account": "http://hermes1.atlasvoyages.com/services/payment/pay"
        },
        "air": {
            "voucherToUser":true,
	    "voucherBcc":["resa-air@atlasvoyages.com"],
            "links": {
                "base": "http://hermes2.atlasvoyages.com",
                "orders": "http://hermes2.atlasvoyages.com/hermes/order",
                "quotes": "http://hermes2.atlasvoyages.com/hermes/quote/air"
            }
        },
        "lodge": {
            "links": {
                "base": "http://localhost:4000/",
                "quotes": "http://localhost:4000/lodge/quotes",
                "properties": "http://localhost:4000/lodge/properties",
                "orders": "http://localhost:4000/orders"
            },
            "searchTimeout": 60
        },
        "hermesOrders": {
            "links": {
                "base": "http://hermes1.atlasvoyages.com"
            }
        },
        "orders": {
          "links":{
            "base":"https://scribe.atlasvoyages.com/"
          }
        },
        "notification" : {
            "from": "atlasresa@atlasvoyages.com",
            "passwd": "atlas2000",
            "to":"atlasresa@atlasvoyages.com",
            "bcc":"mk@fractalite.com"
        }
    }
}