Compare commits
3 Commits
2025.12.13
...
2026.01.30
| Author | SHA1 | Date | |
|---|---|---|---|
| e00255cd92 | |||
| 03188a9bdd | |||
| 9167060c6f |
@@ -5,6 +5,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
RUN mkdocs build --clean
|
||||
|
||||
FROM joseluisq/static-web-server:2
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY --from=builder /docs/site /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
COPY config.toml /config.toml
|
||||
COPY --from=builder /docs/site /public
|
||||
ENV SWS_CONFIG_FILE=/config.toml
|
||||
EXPOSE 8080
|
||||
14
config.toml
Normal file
14
config.toml
Normal file
@@ -0,0 +1,14 @@
|
||||
[general]
|
||||
host = "0.0.0.0"
|
||||
port = 8080
|
||||
root = "/public"
|
||||
log-level = "error"
|
||||
compression = true
|
||||
|
||||
[[advanced.headers]]
|
||||
source = "**/*"
|
||||
[advanced.headers.headers]
|
||||
"X-Frame-Options" = "DENY"
|
||||
"X-Content-Type-Options" = "nosniff"
|
||||
"Referrer-Policy" = "strict-origin-when-cross-origin"
|
||||
"Content-Security-Policy" = "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;"
|
||||
3
docs/User/Account/reset-password.md
Normal file
3
docs/User/Account/reset-password.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Password Reset
|
||||
|
||||
This documentation is not written yet.
|
||||
@@ -1,3 +1,10 @@
|
||||
# User
|
||||
|
||||
This group contains documentation aimed at end-users.
|
||||
|
||||
## Helpful Links
|
||||
- [Account Management](https://fjla.uk)
|
||||
- [Password Reset](https://fjla.uk/reset)
|
||||
|
||||
## Help Documents
|
||||
- [How do I reset my password?](Account/reset-password.md)
|
||||
@@ -4,4 +4,4 @@ This site provides user documentation, technical documentation, configuration st
|
||||
|
||||
If you are a user seeking help [click here](User/index.md).
|
||||
|
||||
If you are an administrator seeking configuration reference [click here](Admin/index.md).
|
||||
You can use the menu to navigate through help documents and guides.
|
||||
10
mkdocs.yaml
10
mkdocs.yaml
@@ -1,14 +1,14 @@
|
||||
site_name: FJLA Documentation
|
||||
nav:
|
||||
- Home: index.md
|
||||
- User: index.md
|
||||
- User:
|
||||
- Account:
|
||||
- Reset or Change Password: User/Account/reset-password.md
|
||||
- Admin:
|
||||
- About: Admin/index.md
|
||||
- Virtualisation & Orchestration:
|
||||
- Combining K8s, PVE & Ceph: Admin/Virtualisation/pve-k8s-ceph-config.md
|
||||
- Deploy RADOS Gateway in K8s: Admin/Virtualisation/rados-gw-in-k8s.md
|
||||
|
||||
theme:
|
||||
name: mkdocs
|
||||
color_mode: auto
|
||||
user_color_mode_toggle: true
|
||||
navigation_depth: 2
|
||||
name: material
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
mkdocs
|
||||
mkdocs-material
|
||||
Reference in New Issue
Block a user