Created
May 19, 2020 16:38
-
-
Save jagedn/8a4a06a188051531017c073a1c5a768a to your computer and use it in GitHub Desktop.
a docker-compose to build antora sites with plantuml diagrams
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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