mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Compare commits
No commits in common. "0d53436f7ecbb546b7de74ca040a95d9736fbac8" and "a6c9d6cd4f46ebe1e0f0fd201c27a6f51e5d60d1" have entirely different histories.
0d53436f7e
...
a6c9d6cd4f
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
|
||||
build:
|
||||
if: ${{ success() }}
|
||||
needs: [lint, check, tests, detect-circular]
|
||||
needs: [lint, check, tests]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
|
|||
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
|
|
@ -35,12 +35,12 @@ jobs:
|
|||
run: bun install
|
||||
|
||||
- name: Build with VitePress
|
||||
run: bun run --filter="@versia-server/api" docs:build
|
||||
run: bun run docs:build
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: packages/api/docs/.vitepress/dist
|
||||
path: docs/.vitepress/dist
|
||||
|
||||
# Deployment job
|
||||
deploy:
|
||||
|
|
|
|||
|
|
@ -123,28 +123,6 @@ in {
|
|||
StandardError = "journal";
|
||||
SyslogIdentifier = "${name}";
|
||||
|
||||
# Hardening
|
||||
CapabilityBoundingSet = [""];
|
||||
LockPersonality = true;
|
||||
PrivateMounts = true;
|
||||
PrivateTmp = true;
|
||||
ProcSubset = "pid";
|
||||
ProtectClock = true;
|
||||
ProtectControlGroups = true;
|
||||
ProtectHome = true;
|
||||
ProtectHostname = true;
|
||||
ProtectKernelLogs = true;
|
||||
ProtectKernelModules = true;
|
||||
ProtectKernelTunables = true;
|
||||
ProtectProc = "invisible";
|
||||
ProtectSystem = "strict";
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
SystemCallArchitectures = "native";
|
||||
RemoveIPC = true;
|
||||
NoNewPrivileges = true;
|
||||
|
||||
Environment = [
|
||||
"CONFIG_LOCATION=${configFile}"
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue