[solved] Agent/server process stays in the forground

I surely missing something obvius.

I have started drone and processes are not going into the background. I have closed the terminal window and processes are still running but it feels a bit odd to do it so.

here is my docker-compose.yml

services:
drone-server:
image: drone/drone:0.8
ports:
- 80:8000
- 9000:9000
volumes:
- ./drone:/var/lib/drone/
restart: always
environment:
- DRONE_OPEN=true
- DRONE_GITHUB=true
- DRONE_ADMIN=rdeutz
- DRONE_GITHUB_CLIENT=lalala
- DRONE_GITHUB_SECRET=lalala
- DRONE_SECRET=geheim
- DRONE_HOST=http://ci.joomla.org
- DRONE_DEBUG=false
- GIN_MODE=release

drone-agent:
image: drone/agent:0.8
command: agent
restart: always
depends_on: [ drone-server ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=drone-server:9000
- DRONE_SECRET=geheim
- DRONE_MAX_PROCS=12
- DRONE_DEBUG=false
- GIN_MODE=release

Thanks in advance for any help
Robert

docker-compose up -d starts the containers in the background and leaves them running.

As I said something obvious, thanks a lot!