Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "AWSEBDockerrunVersion": 2,
- "volumes": [
- {
- "name": "nginx-proxy-conf",
- "host": {
- "sourcePath": "/var/app/current/nginx-api"
- }
- }
- ],
- "containerDefinitions": [
- {
- "name": "api",
- "image": "xxxxxxxxxx.dkr.ecr.ap-southeast-1.amazonaws.com/xxxx-latest",
- "hostname": "api",
- "environment": [
- "some_env": "here"
- ],
- "memory": 512
- },
- {
- "name": "nginx",
- "image": "nginx:latest",
- "memory": 256,
- "portMappings": [
- {
- "hostPort": 80,
- "containerPort": 80
- }
- ],
- "mountPoints": [
- {
- "sourceVolume": "nginx-proxy-conf",
- "containerPath": "/etc/nginx/conf.d",
- "readOnly": true
- }
- ],
- "links": [
- "api"
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement