-
Notifications
You must be signed in to change notification settings - Fork 17
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
[BUG] Deploys from a public images not working #761
Comments
Hello. I am not seeing invalid here in your config. I don't imagine you are using an existing VPC? EDIT: I use public images all the time. Now, it is possible that Dockerhub will be throttling you, that's something that sometimes does happen. |
Thank you for the quick response! |
Great, thank you for your insight, I found out where the error was! It looks like the files from the volume where not copied, so it fires the following error:
This I am not very familiar with Dockers and its deployment. How should I update my docker-compose to use the file from my Afaik, the advantage of using
Option 2 looks easier, but I don't know how to proceed. What is your advice? Thank you for your help |
Indeed, the volumes are extremely useful. I use them myself all the time. The trouble with this is, it works great locally, and it works great on ECS, but how do you get the file from your local disk, to AWS. Plus, currently I have often faced that you can't mount just the file itself, you need to mount, say Something that I also created, because I have so many services that need dynamically generated content or simply, a config file or whatever it is that you want to have not in the docker image, is ECS Files Composer (and 37M downloads? I didn't even realize 🫢 ) So, usually when I have a local file like you do that you need mounting, I make sure to put it in a local directory (folder) and mount the directory, not the file. You never know, you might need config files later. I use SSM parameters (but, there is a size limit so S3 might be a better choice) to upload the content of the file. If files-composer was successful, then will the application container starts. This is quite useful. Hope that helps, let me know how you get on. |
Describe the bug
I ran
ecs-compose-x up -n my-project -f docker-compose.yml
, the stack failed with the following errors:To Reproduce
Steps to reproduce the behavior:
docker-compose.yml
Expected behavior
How can I know what failed in my configuration? It works perfectly fine when running
docker compose up
so I think I'm using an invalid option.Thank you for your help
The text was updated successfully, but these errors were encountered: