aws-samples / eb-docker-nginx-proxy

Apache License 2.0
145 stars 81 forks source link

awseb-logs-nginx-proxy #2

Open wwallace opened 8 years ago

wwallace commented 8 years ago

When launching this example config, the following error occurs: Service:AmazonECS, Code:ClientException, Message:Unknown volume 'awseb-logs-nginx-proxy'., Class:com.amazonaws.services.ecs.model.ClientException

abhiksingh commented 8 years ago

Could you post on the EB forum at http://bit.ly/aws_eb_forum. Please include the environment ID and region where you encountered this error

jessesanford commented 8 years ago

I am also seeing this. I am trying to simply re-deploy my already existing application to my eb environment based on the "Configuration 64bit Amazon Linux 2015.03 v2.0.0 running Multi-container Docker 1.6.2 (Generic)" stack. Service:AmazonECS, Code:ClientException, Message:Unknown volume 'null'., Class:com.amazonaws.services.ecs.model.ClientException

billkidwell commented 4 years ago

I added this to volumes to get past the issue...

"volumes": [
      ...,
        {
            "name": "awseb-logs-nginx-proxy",
            "host": {
                "sourcePath": "/var/log/nginx"
            }
        }
    ],

I'm not certain it is the correct fix, but mapping the containers logs to the host's logs seemed like a good start.