289769a601
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 8s
47 lines
1.2 KiB
Markdown
47 lines
1.2 KiB
Markdown
---
|
|
tags:
|
|
- Docusaurus
|
|
- Documentation
|
|
- Docker
|
|
---
|
|
|
|
## Purpose
|
|
An optimized site generator in React. Docusaurus helps you to move fast and write content. Build documentation websites, blogs, marketing pages, and more.
|
|
|
|
```yaml title="docker-compose.yml"
|
|
version: "3"
|
|
|
|
services:
|
|
docusaurus:
|
|
image: awesometic/docusaurus
|
|
container_name: docusaurus
|
|
environment:
|
|
- TARGET_UID=1000
|
|
- TARGET_GID=1000
|
|
- AUTO_UPDATE=true
|
|
- WEBSITE_NAME=docusaurus
|
|
- TEMPLATE=classic
|
|
- TZ=America/Denver
|
|
restart: always
|
|
volumes:
|
|
- /srv/containers/docusaurus:/docusaurus
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "80:80"
|
|
networks:
|
|
docker_network:
|
|
ipv4_address: 192.168.5.72
|
|
networks:
|
|
docker_network:
|
|
external: true
|
|
```
|
|
|
|
```yaml title=".env"
|
|
Not Applicable
|
|
```
|
|
|
|
## Related Documentation
|
|
- [Docker Network Prerequisite](<../../Containers/Docker/Create the Docker Network.md>) — The configuration references the external `docker_network`; prepare it on the intended Docker host.
|
|
- [Related Automation Documentation](<../../../reference/Automation/index.md>) — Find the connected deployments, procedures, and references for this subject.
|