Pulumi code for my server setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add scrutiny

+39
+39
src/index.ts
··· 370 370 user: "1000:1000", 371 371 }, 372 372 }); 373 + 374 + const scrutinyService = await ContainerService.create("scrutiny", { 375 + image: "ghcr.io/analogj/scrutiny:master-omnibus", 376 + webPort: 8080, 377 + mounts: [ 378 + dockerConfMount("scrutiny/config", "/opt/scrutiny/config"), 379 + dockerConfMount("scrutiny/influxdb", "/opt/scrutiny/influxdb"), 380 + { 381 + source: "/run/udev", 382 + target: "/run/udev", 383 + type: "bind", 384 + readOnly: true, 385 + }, 386 + ], 387 + extraContainerOptions: { 388 + capabilities: { 389 + adds: ["SYS_RAWIO", "SYS_ADMIN"], 390 + }, 391 + devices: [ 392 + "sda", 393 + "sdb", 394 + "sdc", 395 + "sdd", 396 + "sde", 397 + "sdf", 398 + "sdg", 399 + "sdh", 400 + "sdi", 401 + "sdj", 402 + "nvme0", 403 + "nvme1", 404 + ].map((i) => ({ 405 + containerPath: `/dev/${i}`, 406 + hostPath: `/dev/${i}`, 407 + permissions: "r", 408 + })), 409 + }, 410 + middlewares: ["auth"], 411 + });