mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-20 03:40:29 +05:00
Add comfycamp container
This commit is contained in:
parent
3c49c2d238
commit
e4e8d90b39
|
@ -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
|
||||||
|
|
8
nixos/programs/comfycamp.nix
Normal file
8
nixos/programs/comfycamp.nix
Normal 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"];
|
||||||
|
};
|
||||||
|
}
|
|
@ -30,16 +30,19 @@ in {
|
||||||
"comfycamp.space" = {
|
"comfycamp.space" = {
|
||||||
useACMEHost = "comfycamp.space";
|
useACMEHost = "comfycamp.space";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
locations = {
|
||||||
|
"/".proxyPass = "http://127.0.0.1:55007";
|
||||||
# This section is not needed if the server_name of matrix-synapse is equal to
|
# This section is not needed if the server_name of matrix-synapse is equal to
|
||||||
# the domain (i.e. example.org from @foo:example.org) and the federation port
|
# the domain (i.e. example.org from @foo:example.org) and the federation port
|
||||||
# is 8448.
|
# is 8448.
|
||||||
# Further reference can be found in the docs about delegation under
|
# Further reference can be found in the docs about delegation under
|
||||||
# https://matrix-org.github.io/synapse/latest/delegate.html
|
# https://matrix-org.github.io/synapse/latest/delegate.html
|
||||||
locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
|
"/.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
|
||||||
# This is usually needed for homeserver discovery (from e.g. other Matrix clients).
|
# This is usually needed for homeserver discovery (from e.g. other Matrix clients).
|
||||||
# Further reference can be found in the upstream docs at
|
# Further reference can be found in the upstream docs at
|
||||||
# https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient
|
# https://spec.matrix.org/latest/client-server-api/#getwell-knownmatrixclient
|
||||||
locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
|
"/.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Nextcloud
|
# Nextcloud
|
||||||
|
|
Loading…
Reference in a new issue