github.com/mdaxf/iac@v0.0.0-20240519030858-58a061660378/dockerconfiguration.json (about) 1 { 2 "instance":"IAC_Instance", 3 "name":"IAC", 4 "version":"1.0.0", 5 "description":"IAC is a framework for building web applications with Go.", 6 "author":"IAC", 7 "singalrconfig":{ 8 "serverwc": "ws://iac-signalrsrv:8222", 9 "server": "http://iac-signalrsrv:8222", 10 "hub": "/iacmessagebus" 11 }, 12 "transaction":{ 13 "timeout": 30 14 }, 15 "database":{ 16 "type":"mysql", 17 "connection": "user:iacf12345678@tcp(mysql:3306)/iac?timeout=5s", 18 "maxidleconns":5, 19 "maxopenconns":10, 20 "timeout": 5 21 }, 22 "altdatabases":[ 23 { 24 "name": "conn1", 25 "type":"mysql", 26 "connection":"user:iacf12345678@tcp(mysql:3306)/iac" 27 } 28 ], 29 "documentdb":{ 30 "type": "mongodb", 31 "connection": "mongodb://mongodb:27017", 32 "database": "IAC_CFG" 33 }, 34 "webserver":{ 35 "port": 8000, 36 "timeout": 30, 37 "paths":{ 38 "portal": { 39 "path":"portal", 40 "home":"portal/uipage.html"} 41 }, 42 "proxy":{ 43 "draw": "http://localhost:3000" 44 }, 45 "headers":{ 46 "Access-Control-Allow-Origin": "*", 47 "Access-Control-Allow-Credentials": "true", 48 "Access-Control-Allow-Methods": "POST, OPTIONS, GET, PUT, DELETE", 49 "Access-Control-Allow-Headers": "Accept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization", 50 "Access-Control-Expose-Headers": "Content-Length", 51 "Content-Type": "application/json; charset=utf-8" 52 } 53 }, 54 "appserver":{ 55 "url": "http://app-server:8080", 56 "apikey": "ahbcgj" 57 }, 58 "log":{ 59 "adapter": "console", 60 "level": "performance", 61 "performance": true, 62 "performancethread": 1, 63 "file":{ 64 "folder": "/docker-entrypoint-log/", 65 "file": "iac.log", 66 "maxlines":10000, 67 "maxsize": 1024}, 68 "console":{}, 69 "multiplefile":{ 70 "folder": "/docker-entrypoint-log/", 71 "file": "iac.log", 72 "maxlines":10000, 73 "maxsize": 1024, 74 "maxfiles": 10 75 }, 76 "documentdb":{ 77 "conn": "mongodb://localhost:27017", 78 "db": "IAC_CACHE", 79 "collection": "logger" 80 } 81 }, 82 "cache":{ 83 "adapter": "memory", 84 "interval": 7200, 85 "objectinterval": 1800, 86 "testsessiontimeout": 900, 87 "redis":{ 88 "key": "collectionname", 89 "conn": 6379, 90 "password": "", 91 "dbNum": 0, 92 "thePassWord": 3600 93 }, 94 "memcache":{ 95 "conn": "127.0.0.1:11211" 96 }, 97 "file":{ 98 "CachePath": "./cache", 99 "FileSuffix": ".cache", 100 "DirectoryLevel": 2, 101 "EmbedExpiry": 120 102 }, 103 "documentdb":{ 104 "conn": "mongodb://mongodb:27017", 105 "db": "IAC_CACHE", 106 "collection": "cache" 107 } 108 }, 109 "translation":{ 110 "autopopulate": true, 111 "cache": true 112 } 113 }