diff --git a/docker-compose.yml b/docker-compose.yml index 389ec86..7f12ea8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -65,7 +65,7 @@ x-common-options: &common-options { \ echo '#!/bin/sh -e'; \ echo 'if [ -t 1 ]; then tty_option=-t; fi'; \ - echo 'exec docker exec -i $$tty_option -w $$PWD '"${COMPOSE_PROJECT_NAME}_$${service_name}_1 $${command}"' "$$@"'; \ + echo 'exec docker exec -i $$tty_option -w $$PWD '"${COMPOSE_PROJECT_NAME}-$${service_name}-1 $${command}"' "$$@"'; \ } | sudo tee /usr/local/bin/$$command_name sudo chmod +x /usr/local/bin/$$command_name done