FredericHeem/starhackit

View on GitHub
server/config/default_infra.json

Summary

Maintainability
Test Coverage
{
  "websiteUrl": "http://localhost:8080",
  "oidc": {
    "issuer": "https://demo.grucloud.com",
    "audience": "https://demo.grucloud.com"
  },
  "log": {
    "console": {
      "level": "debug",
      "timestamp": true,
      "colorize": true
    }
  },
  "aws": { "bucketUpload": "grucloud-console-phase" },
  "ecs": {
    "cluster": "grucloud-console-phase",
    "taskDefinition": "grucloud-cli:10",
    "subnets": ["subnet-xxxxxx"],
    "securityGroups": ["sg-xxxxxxx"]
  },
  "infra": {
    "wsUrl": "ws://172.31.30.158:9000",
    "docker": { "baseURL": "http://localhost/v1.41" },
    "localOutputPath": "output",
    "localInputPath": "input",
    "containerImage": "grucloud/grucloud-cli:v1.23.0"
  },
  "koa": {
    "port": 9000,
    "apiBasePath": "/api/v1/",
    "cookieSecret": ["your-super-session-secret"],
    "staticContent": ["build"],
    "logger": true,
    "cors": {
      "credentials": true
    }
  },
  "db": {
    "url": "postgres://postgres:password@localhost:6432/dev?sslmode=disable",
    "options": {
      "logging": true
    }
  },
  "jwt": {
    "secret": "I love shrimp with mayonnaise",
    "options": {
      "expiresIn": "15 days"
    }
  },
  "mail": {
    "from": "StarHackIt <notification@starhack.it>",
    "signature": "The Team",
    "smtp": {
      "service": "Mailgun",
      "auth": {
        "user": "postmaster@yourproject.mailgun.org",
        "pass": "11111111111111111111"
      }
    }
  }
}