Skip to content

Instantly share code, notes, and snippets.

@ishani
Created November 4, 2018 21:47
Show Gist options
  • Save ishani/06a99050500069319493facd31b6576e to your computer and use it in GitHub Desktop.
Save ishani/06a99050500069319493facd31b6576e to your computer and use it in GitHub Desktop.
{
"executionRoleArn": null,
"containerDefinitions": [
{
"dnsSearchDomains": null,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/xsyn",
"awslogs-region": "eu-west-2",
"awslogs-stream-prefix": "ecs"
}
},
"entryPoint": [
"./xsyn-deploy"
],
"portMappings": [
{
"hostPort": 80,
"protocol": "tcp",
"containerPort": 80
},
{
"hostPort": 443,
"protocol": "tcp",
"containerPort": 443
}
],
"command": null,
"linuxParameters": null,
"cpu": 0,
"environment": [
{
"name": "XS_BOLT_FILE",
"value": "/data/marks.db"
},
{
"name": "XS_SEC_LE",
"value": "my.owned.domain"
},
{
"name": "XS_SEC_LE_CACHE",
"value": "/data/certs"
},
{
"name": "XS_SRV_MESSAGE",
"value": "xSyn, on AWS, LetsEncrypt'ed."
},
{
"name": "XS_SRV_PORT",
"value": "80"
},
{
"name": "XS_SRV_RELEASE",
"value": "false"
}
],
"ulimits": null,
"dnsServers": null,
"mountPoints": [
{
"readOnly": null,
"containerPath": "/data",
"sourceVolume": "data"
}
],
"workingDirectory": null,
"secrets": null,
"dockerSecurityOptions": null,
"memory": 400,
"memoryReservation": null,
"volumesFrom": [],
"image": "hdenholm/xsyn:latest",
"disableNetworking": null,
"interactive": null,
"healthCheck": null,
"essential": true,
"links": null,
"hostname": null,
"extraHosts": null,
"pseudoTerminal": null,
"user": null,
"readonlyRootFilesystem": null,
"dockerLabels": null,
"systemControls": null,
"privileged": null,
"name": "xsyn"
}
],
"placementConstraints": [],
"memory": "500",
"taskRoleArn": null,
"compatibilities": [
"EC2"
],
"family": "xsyn",
"requiresAttributes": [
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.25"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "ecs.capability.docker-plugin.local"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
}
],
"requiresCompatibilities": [
"EC2"
],
"networkMode": null,
"cpu": "150",
"revision": 4,
"status": "ACTIVE",
"volumes": [
{
"name": "data",
"host": null,
"dockerVolumeConfiguration": {
"autoprovision": true,
"labels": null,
"scope": "shared",
"driver": "local",
"driverOpts": null
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment