with open ("services.txt", "r") as myfile:
    services=myfile.read()
with open ("configs/docker-compose-cli.yaml", "r") as myfile:
    compose=myfile.read()
compose = compose.replace("__SERVICES__",services)
with open("configs/docker-compose-cli.yaml", "w") as text_file:
    text_file.write("%s" % compose)
c62e4218a131bd8af5abe146c71934310d8d4eaf
<mask token>

with open('services.txt', 'r') as myfile:
    services = myfile.read()
with open('configs/docker-compose-cli.yaml', 'r') as myfile:
    compose = myfile.read()
<mask token>
with open('configs/docker-compose-cli.yaml', 'w') as text_file:
    text_file.write('%s' % compose)

with open('services.txt', 'r') as myfile:
    services = myfile.read()
with open('configs/docker-compose-cli.yaml', 'r') as myfile:
    compose = myfile.read()
compose = compose.replace('__SERVICES__', services)
with open('configs/docker-compose-cli.yaml', 'w') as text_file:
    text_file.write('%s' % compose)

with open ("services.txt", "r") as myfile:
    services=myfile.read()
with open ("configs/docker-compose-cli.yaml", "r") as myfile:
    compose=myfile.read()
compose = compose.replace("__SERVICES__",services)
with open("configs/docker-compose-cli.yaml", "w") as text_file:
    text_file.write("%s" % compose)