# Create docker compose file

**URL:** <https://forums.docker.com/t/create-docker-compose-file/102810>\
**Category:** General\
**Created:** [January 8, 2021, 1:52pm UTC](https://forums.docker.com/t/create-docker-compose-file/102810 "2021-01-08T13:52:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![75521335](https://avatars.discourse-cdn.com/v4/letter/7/58956e/32.png) [@75521335](https://forums.docker.com/u/75521335)\
**Post date:** [January 8, 2021, 1:52pm UTC](https://forums.docker.com/t/create-docker-compose-file/102810/1 "2021-01-08T13:52:33Z")

</div>

I have different ruuning services on docker container and I want to manage multi application.I have a license server and I am trying to connect licese server to the other service.I cretaed a docker-compose.yml ;

version: “3.8”  
services:  
license:  
build: .  
image: “isoftmam/license-service:0.1”  
networks:  
sdnet:  
driver: bridge  
ipam:  
driver: default

When I run docker-compose up command in my project , it create new dockerfile container and run then stopped.The main issue is why is getting stopped after runnning container.I dont want automatically stop service.Any idea on this issue ?
