Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use log volumes awseb-logs-... #96

Open
flaushi opened this issue Oct 1, 2019 · 0 comments
Open

use log volumes awseb-logs-... #96

flaushi opened this issue Oct 1, 2019 · 0 comments

Comments

@flaushi
Copy link

flaushi commented Oct 1, 2019

Hi,
I'd like to use the log volumes as described here:
https://docs.aws.amazon.com/de_de/elasticbeanstalk/latest/dg/create_deploy_docker_v2config.html

I am converting a docker-compose.yml, but don't know how to get such a awseb-logs- volume.

if I use such a docker-compose:

version: '2'

services:
    
    php:
        image: php:latest
        mem_limit: 950m
        restart: always
        links:
            - redis
            - db
        volumes:
            - awseb-logs-mylog:/var/log

it'll give me

{
            "essential": true,
            "image": "php:latest",
            "links": [
                "redis",
                "db"
            ],
            "memory": 950,
            "mountPoints": [
                {
                    "containerPath": "/var/log",
                    "sourceVolume": "Awseb-Logs-mylog"
                }
            ],
            "name": "php"
        },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant