❄️ Nix configurations
0
fork

Configure Feed

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

add: ottrbox test

Signed-off-by: A. Ottr <alex@otter.foo>

A. Ottr 133f9f3a ccbbc2f6

+19
+19
modules/nixos/server/otterbox.nix
··· 1 + { pkgs, ... }: 2 + 3 + { 4 + virtualisation.oci-containers = { 5 + backend = "podman"; 6 + containers.otterbox = { 7 + ports = [ 8 + "127.0.0.1:16300:3000" 9 + ]; 10 + volumes = [ 11 + "/var/lib/ottrbox:/opt/app/backend/data" 12 + "/var/lib/ottrbox/images:/opt/app/frontend/public/img" 13 + ]; 14 + image = "ghcr.io/aottr/ottrbox:v1.14.2"; 15 + }; 16 + }; 17 + 18 + networking.firewall.allowedTCPPorts = [ 16300 ]; 19 + }