Browse Source

Updated comments

master
Craige McWhirter 1 year ago
parent
commit
704b09c85d
Signed by: craige <craige@mcwhirter.com.au> GPG Key ID: A4122FF3971B6865
1 changed files with 10 additions and 3 deletions
  1. +10
    -3
      version-management/gitea_for_VM_testing.nix

+ 10
- 3
version-management/gitea_for_VM_testing.nix View File

@@ -1,4 +1,11 @@
# NixOps configuration for the VMs running Gitea
# Gitea configuration for the VMs running Gitea
#
# This file is intended to be imported into a file that defines the host, such
# as gitea_vm.nix in this directory. It is for playing with / testing Gitea and
# should not be used as an example of a production deployment.
#
# This is very basic Gitea setup, you can create an account, poke around even
# push git repos to it as per the README.

{ config, pkgs, lib, ... }:

@@ -10,7 +17,7 @@
type = "postgres"; # Database type
password = "gitea"; # Set the password
};
domain = "source.mcwhirter.io"; # Domain name
domain = "gitea-vm"; # Domain name
rootUrl = "http://localhost/"; # Root web URL
httpPort = 3001; # Provided unique port
};
@@ -29,7 +36,7 @@
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."localhost" = { # Gitea hostname
virtualHosts."localhost" = { # Gitea hostname
locations."/".proxyPass = "http://localhost:3001/"; # Proxy Gitea
};
};


Loading…
Cancel
Save