Initialize Tinder API Wrapper with server configuration and Docker setup
This commit is contained in:
19
example-configuration.nix
Normal file
19
example-configuration.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
# Example NixOS configuration
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./nixos-module.nix
|
||||
];
|
||||
|
||||
services.tinder-api-wrapper = {
|
||||
enable = true;
|
||||
port = 8080; # default port
|
||||
# Optionally override user/group if needed
|
||||
# user = "custom-user";
|
||||
# group = "custom-group";
|
||||
};
|
||||
|
||||
# Open firewall port
|
||||
networking.firewall.allowedTCPPorts = [ 8080 ];
|
||||
}
|
||||
Reference in New Issue
Block a user