Advertisement
Guest User

Untitled

a guest
Jan 26th, 2021
933
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. {
  2. "AWSEBDockerrunVersion": 2,
  3. "volumes": [
  4. {
  5. "name": "nginx-proxy-conf",
  6. "host": {
  7. "sourcePath": "/var/app/current/nginx-api"
  8. }
  9. }
  10. ],
  11. "containerDefinitions": [
  12. {
  13. "name": "api",
  14. "image": "xxxxxxxxxx.dkr.ecr.ap-southeast-1.amazonaws.com/xxxx-latest",
  15. "hostname": "api",
  16. "environment": [
  17. "some_env": "here"
  18. ],
  19. "memory": 512
  20. },
  21. {
  22. "name": "nginx",
  23. "image": "nginx:latest",
  24. "memory": 256,
  25. "portMappings": [
  26. {
  27. "hostPort": 80,
  28. "containerPort": 80
  29. }
  30. ],
  31. "mountPoints": [
  32. {
  33. "sourceVolume": "nginx-proxy-conf",
  34. "containerPath": "/etc/nginx/conf.d",
  35. "readOnly": true
  36. }
  37. ],
  38. "links": [
  39. "api"
  40. ]
  41. }
  42. ]
  43. }
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement