Skip to content

Instantly share code, notes, and snippets.

@jagedn
Created May 19, 2020 16:38
Show Gist options
  • Save jagedn/8a4a06a188051531017c073a1c5a768a to your computer and use it in GitHub Desktop.
Save jagedn/8a4a06a188051531017c073a1c5a768a to your computer and use it in GitHub Desktop.
a docker-compose to build antora sites with plantuml diagrams
version: "2.1"
services:
plantuml-container:
image: "plantuml/plantuml-server:jetty"
antora:
image: "jagedn/antora-plantuml"
depends_on:
plantuml-container:
condition: service_started
volumes:
- .:/antora
site:
title: My site
url: https://example.com
start_page: ROOT::index.adoc
content:
sources:
- url: /antora
start_path: docs
branches: HEAD
asciidoc:
extensions:
- asciidoctor-plantuml
attributes:
plantuml-server-url: 'http://plantuml-container:8080'
plantuml-fetch-diagram: true
output:
clean: true
dir: ./build/private
destinations:
- provider: archive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment