compose-x / ecs_composex

Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definitions
https://docs.compose-x.io
Mozilla Public License 2.0
158 stars 16 forks source link

[DOCS] Nginx tagging and pushing #767

Closed mrmattwilkins closed 3 weeks ago

mrmattwilkins commented 4 weeks ago

Hi John,

Sorry about all these issues, I feel I must be using a different version of docker or something because I've found another problem. The

docker-compose -f docker-compose.yaml push

doesn't work until I tag the image. I needed to do this:

docker tag f10a78930682 ${REGISTRY_URI}frontend:0.1
docker push ${REGISTRY_URI}frontend:0.1

where the f10blah was got from a docker images.

mrmattwilkins commented 4 weeks ago

apologies, I got it working by following your example more carefully. You had

image: ${REGISTRY_URI}nginx:${TAG:-latest}

in your docker-compose.yaml, but since REGISTRY_URI wasn't set at that point in the tutorial I removed it thinking it would cause problems. Perhaps you could update the doco to explain that we don't need the registry_uri set for the compose file to work locally before that variable is set?