name: funkwhale-docs networks: web: external: true services: sphinx: build: context: "compose/context/docs" init: true ports: ["8001:8001"] command: sh -c 'cd /src/docs && make install && make dev' volumes: - ${PWD}:/src labels: - "traefik.enable=true" - "traefik.http.routers.whoami-web.rule=Host(`docs.funkwhale.test`)" - "traefik.http.routers.whoami-web.entrypoints=web" - "traefik.http.routers.whoami-webs.rule=Host(`docs.funkwhale.test`)" - "traefik.http.routers.whoami-webs.entrypoints=webs" - "traefik.http.routers.whoami-webs.tls=true" networks: ["web"]