You may add it as a stack: Add a new stack - Portainer Documentation The example of docker-compose.yaml you can see there:
docker-compose.yaml