Answer the question
In order to leave comments, you need to log in
How to copy volume to allotted ecs docker compose folder?
I need to redo the docker-compose.yml for amazon ecs
there is this line With ./frontend/certs/.:/etc/nginx/certs
this command we copy the certificates
and config
./frontend/frontend.nginx.site:/etc/nginx/conf.d/default.conf
expected format [HOST:]CONTAINER[:ro|rw]. could not parse volume:
nginx-frontend:
image: nginx
volumes:
- frontend:/frontend.nginx.site:/etc/nginx/conf.d/default.conf
- frontend:/certs/.:/etc/nginx/certs
...
volumes:
nginx-frontend: {}
frontend: {}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question