
procfile.ymlDockerHub automatically tests and builds the image tags: DockerHub Repo
docker-compose -f docker-compose.test.yml up
(Recommended) Create a docker.env file with all the environment variables needed:
Create a procfile.yml following this format:
service1:
command: python run_server.py
memory: 512
cpu: 256
ports:
- 8000:8000
- 2222:2222
disable-logs: true
service2:
command: python run_worker.py
memory: 1024
cpu: 512
release:
command: python migrations.py
memory: 512
cpu: 256
On your project root run:
docker run --rm --env-file=local.env -v $(pwd)/ecs_deployer:/app/ecs_deployer -v $(pwd):/code -it ecs_deployer deploy -p /code/procfile.yml -i << ecr_path>>
Enjoy!
Content type
Image
Digest
Size
37.7 MB
Last updated
about 5 years ago
docker pull 21buttons/ecs-deployer