天道酬勤,学无止境

dockerrun.aws.json

从 docker-compose.yml 到 Dockerrun.aws.json(from docker-compose.yml to Dockerrun.aws.json)

问题 我手动将我docker-compose.yml为 Dockerrun.aws.json。 然而,它并没有完全正确。 但是我发现当我输入eb local run ,eb CLI 工具将一个名为 docker-compose.yml 的文件添加到.elasticbeanstalk文件夹中。 似乎 eb CLI 工具试图将 Dockerrun.aws.json 转换为 docker docker-compose.yml 。 由于我已经有一个可用的 docker-compose.yml,我可以用我正确的.elasticbeanstalk docker-compose.yml替换.elasticbeanstalk文件夹中的.elasticbeanstalk docker-compose.yml吗? 手动翻译很乏味,我犯了一些错误。 有谁知道解决这个问题的快速方法? 谢谢

2021-10-30 11:02:42    分类:技术分享    amazon-web-services   docker   docker-compose   amazon-elastic-beanstalk   dockerrun.aws.json

from docker-compose.yml to Dockerrun.aws.json

I manually translate my docker-compose.yml to Dockerrun.aws.json. However, it did not work quite right. But I find out that when I typed eb local run, eb CLI tool added a file called docker-compose.yml to the .elasticbeanstalk folder. It seems that eb CLI tool tried to translate Dockerrun.aws.json to docker-compose.yml. Since I already have a working docker-compose.yml, could I just replace docker-compose.yml in the .elasticbeanstalk folder with my correct docker-compose.yml? Doing manual translation is tedious and I made some mistakes. Does anyone know the quick way to solve this problem

2021-09-07 15:10:16    分类:问答    amazon-web-services   docker   docker-compose   amazon-elastic-beanstalk   dockerrun.aws.json

difficult fields from docker-compose.yml to Dockerrun.aws.json

I want to translate my docker-compose.yml to Dockerrun.aws.json. But I have several places where I don't know how to translate. Here are my files: docker-compose.yml: version: '2' services: api: ports: - '8000:8000' build: context: ./saleor dockerfile: ./Dockerfile args: STATIC_URL: /static/ restart: unless-stopped networks: - saleor-backend-tier depends_on: - db - redis - jaeger volumes: - './saleor/saleor/:/app/saleor:Z' - './saleor/templates/:/app/templates:Z' - './saleor/tests/:/app/tests' - 'saleor-media:/app/media' command: 'python manage.py runserver 0.0.0.0:8000' env_file: common.env

2021-05-13 11:44:49    分类:问答    amazon-web-services   docker   docker-compose   amazon-elastic-beanstalk   dockerrun.aws.json