Guest User

Untitled

a guest
Sep 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. {
  2. "requiresCompatibilities": [
  3. "EC2"
  4. ],
  5. "containerDefinitions": [
  6. {
  7. "name": "nginx",
  8. "image": "nginx",
  9. "memory": "500",
  10. "essential": true,
  11. "portMappings": [
  12. {
  13. "hostPort": "8080",
  14. "containerPort": "80",
  15. "protocol": "tcp"
  16. }
  17. ],
  18. "environment": null,
  19. "mountPoints": [
  20. {
  21. "sourceVolume": "nginx-vol",
  22. "containerPath": "/data",
  23. "readOnly": ""
  24. }
  25. ],
  26. "volumesFrom": null,
  27. "hostname": null,
  28. "user": null,
  29. "workingDirectory": null,
  30. "extraHosts": null,
  31. "logConfiguration": null,
  32. "ulimits": null,
  33. "dockerLabels": null,
  34. "repositoryCredentials": {
  35. "credentialsParameter": ""
  36. }
  37. }
  38. ],
  39. "volumes": [
  40. {
  41. "dockerVolumeConfiguration": {
  42. "driver": "cloudstor:aws",
  43. "scope": "shared",
  44. "driverOpts": {
  45. "size": "10",
  46. "backing": "relocatable"
  47. },
  48. "labels": null,
  49. "autoprovision": true
  50. },
  51. "name": "nginx-vol"
  52. }
  53. ],
  54. "networkMode": null,
  55. "memory": null,
  56. "cpu": null,
  57. "placementConstraints": [],
  58. "family": "nginx"
  59. }
Add Comment
Please, Sign In to add comment