Created
May 13, 2019 18:47
-
-
Save sfrancavilla/0d1615e5a5091cfc84913926a31be40f to your computer and use it in GitHub Desktop.
Deploy Ruby on Rails apps (+ NGINX) to ECS with Docker - Medium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| app: | |
| # 1.Repository URI for our app image | |
| image: XXXXXXXXXX.dkr.ecr.eu-west-1.amazonaws.com/ror-ecs-app | |
| build: | |
| context: . | |
| dockerfile: ./docker/app/Dockerfile | |
| web: | |
| # 2.Repository URI for our web image | |
| image: XXXXXXXXXX.dkr.ecr.eu-west-1.amazonaws.com/ror-ecs-web | |
| build: | |
| context: . | |
| dockerfile: ./docker/web/Dockerfile | |
| links: | |
| - app | |
| ports: | |
| - 80:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment