import sys


def generate_docker_compose(name):
    with open('docker-compose.yml', 'r') as f:
        content = f.read()
        content = content % (name, name, name)

    with open('docker-services/docker-compose.yml', 'w') as f:
        f.write(content)


if __name__ == '__main__':
    generate_docker_compose(sys.argv[1])

@@ -189,24 +189,8 @@
 ker-
-services/docker-
 comp

Fix path.