Add comfycamp container

This commit is contained in:
Ivan R. 2023-08-27 23:31:57 +05:00
parent 3c49c2d238
commit e4e8d90b39
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
3 changed files with 22 additions and 10 deletions

View file

@ -23,6 +23,7 @@
./programs/docker.nix ./programs/docker.nix
./programs/microboard.nix ./programs/microboard.nix
./programs/freshrss.nix ./programs/freshrss.nix
./programs/comfycamp.nix
]; ];
# Enable flakes # Enable flakes

View file

@ -0,0 +1,8 @@
{ config, ... }:
{
virtualisation.oci-containers.containers.comfycamp = {
autoStart = true;
image = "ghcr.io/ordinary-dev/comfycamp:v0.0.1";
ports = ["55007:80"];
};
}

View file

@ -30,16 +30,19 @@ in {
"comfycamp.space" = { "comfycamp.space" = {
useACMEHost = "comfycamp.space"; useACMEHost = "comfycamp.space";
forceSSL = true; forceSSL = true;
# This section is not needed if the server_name of matrix-synapse is equal to locations = {
# the domain (i.e. example.org from @foo:example.org) and the federation port "/".proxyPass = "http://127.0.0.1:55007";
# is 8448. # This section is not needed if the server_name of matrix-synapse is equal to
# Further reference can be found in the docs about delegation under # the domain (i.e. example.org from @foo:example.org) and the federation port
# https://matrix-org.github.io/synapse/latest/delegate.html # is 8448.
locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig; # Further reference can be found in the docs about delegation under
# This is usually needed for homeserver discovery (from e.g. other Matrix clients). # https://matrix-org.github.io/synapse/latest/delegate.html
# Further reference can be found in the upstream docs at "/.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
# https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient # This is usually needed for homeserver discovery (from e.g. other Matrix clients).
locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig; # Further reference can be found in the upstream docs at
# https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient
"/.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
};
}; };
# Nextcloud # Nextcloud