Added basic doc publishing
This commit is contained in:
parent
055eb45f61
commit
2f7e7c0039
21
roles/apps/files/docs/docs/index.md
Normal file
21
roles/apps/files/docs/docs/index.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Welcome to n0xb0x
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
n0xb0x is a self-hosted bitcoin (and related) server that is based on Fedora CoreOS.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
* Minimalistic OS that only runs containers
|
||||||
|
* Only packages installed locally are:
|
||||||
|
- Caddy
|
||||||
|
- Zerotier
|
||||||
|
- Cockpit
|
||||||
|
* Entire server is bootstraped via Ansible for low-touch deployment
|
||||||
|
* Atomic updates
|
||||||
|
* All containers are built on device for full transparency
|
||||||
|
* All containers are run as systemd services
|
||||||
|
- Containers can be launched via `systemctl start` like any other service
|
||||||
|
- Containers natively log via `journalctl` like any other service
|
||||||
|
- Containers can be managed via Cockpit
|
||||||
|
|
||||||
@ -16,6 +16,11 @@
|
|||||||
chdir: ~/Containers/docs
|
chdir: ~/Containers/docs
|
||||||
cmd: ./build.sh
|
cmd: ./build.sh
|
||||||
|
|
||||||
|
- name: republish_docs
|
||||||
|
ansible.builtin.shell:
|
||||||
|
chdir: ~/srv/docs
|
||||||
|
cmd: podman exec -it systemd-docs-node mkdocs build
|
||||||
|
|
||||||
- name: reload_systemctl
|
- name: reload_systemctl
|
||||||
ansible.builtin.systemd_service:
|
ansible.builtin.systemd_service:
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
|
|||||||
@ -17,6 +17,14 @@
|
|||||||
path: ~/srv/docs/docs
|
path: ~/srv/docs/docs
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
|
- name: Copy documentation
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: {{ item }}
|
||||||
|
dest: ~/srv/docs/docs
|
||||||
|
with_fileglob:
|
||||||
|
- "docs/docs/*"
|
||||||
|
notify: republish_docs
|
||||||
|
|
||||||
- name: Make dir for docs Containers
|
- name: Make dir for docs Containers
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: ~/Containers/docs
|
path: ~/Containers/docs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user