A lightweight web server that serves AsciiDoc files and live-reloads them as they change.
326
A lightweight, high-performance web server that serves AsciiDoc files and live-reloads them as they change. Packaged as a multi-architecture Docker container (arm64/x86_64) powered by Go and the official Ruby Asciidoctor engine.
.adoc files and watch the browser update instantly without manual refreshing.docker compose up -d
http://localhost:8080.docs/index.adoc file and watch the live reload in action!version: '3.8'
services:
server:
build:
context: .
dockerfile: Dockerfile
image: tiwutdev/asciidoc-server:latest
container_name: adoc-server
ports:
- "8080:8080"
environment:
- PORT=8080
- LIVERELOAD=true
- THEME=default
volumes:
- ./docs:/docs
restart: unless-stopped
You can configure the server using environment variables in the docker-compose.yml file:
| Variable | Default | Description |
|---|---|---|
PORT | 8080 | The HTTP port the server will bind to. |
LIVERELOAD | true | Enables or disables the Server-Sent Events live-reload feature. |
THEME | default | Set the AsciiDoc theme (default, dark, github, material, clean). |
Content type
Image
Digest
sha256:8bf9901a3…
Size
40.6 MB
Last updated
about 1 month ago
docker pull tiwutdev/asciidoc-server