Compare commits
2 Commits
2025.12.14
...
2026.01.30
| Author | SHA1 | Date | |
|---|---|---|---|
| e00255cd92 | |||
| 03188a9bdd |
@@ -5,6 +5,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN mkdocs build --clean
|
RUN mkdocs build --clean
|
||||||
|
|
||||||
|
FROM joseluisq/static-web-server:2
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=builder /docs/site /usr/share/nginx/html
|
COPY config.toml /config.toml
|
||||||
EXPOSE 80
|
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:;"
|
||||||
@@ -1 +0,0 @@
|
|||||||
# Account Help
|
|
||||||
@@ -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 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.
|
||||||
@@ -5,6 +5,7 @@ nav:
|
|||||||
- Account:
|
- Account:
|
||||||
- Reset or Change Password: User/Account/reset-password.md
|
- Reset or Change Password: User/Account/reset-password.md
|
||||||
- Admin:
|
- Admin:
|
||||||
|
- About: Admin/index.md
|
||||||
- Virtualisation & Orchestration:
|
- Virtualisation & Orchestration:
|
||||||
- Combining K8s, PVE & Ceph: Admin/Virtualisation/pve-k8s-ceph-config.md
|
- Combining K8s, PVE & Ceph: Admin/Virtualisation/pve-k8s-ceph-config.md
|
||||||
- Deploy RADOS Gateway in K8s: Admin/Virtualisation/rados-gw-in-k8s.md
|
- Deploy RADOS Gateway in K8s: Admin/Virtualisation/rados-gw-in-k8s.md
|
||||||
|
|||||||
Reference in New Issue
Block a user