我有一个需要运行多个容器的项目,我想将其放入Elastic Beanstalk中。
我已经有了docker-compose.yml,我想将其转换为Dockerrun.aws.json
这是我的docker-compose.yml文件
version: '2.0'
services:
djangoserverdocker:
build: ./django_server
command: bash -c "python3 manage.py makemigrations && python3 manage.py migrate --fake && python3 manage.py runserver 0.0.0.0:80"
volumes:
- .:/djangoserverdocker
ports:
- "80:80"
socketserverdocker:
build:
context: ./needsocket
ports:
- '8002:8002'
如何转换?