Run Zola in Docker Swarm mode

Hi everybody,
I’m trying to run Zola in container on a server where Docker is in swarm mode.
I have found this docker-compose.yml as base to start from:

services:
    zola: 
        build:
            context: .
            target: zola-base
        command: zola serve --interface 0.0.0.0
        volumes:
            - .:/site
        ports:
            - '1111:1111'

but I can’t make it work in any way.

Someone can help?
Thanks