gts
This commit is contained in:
parent
1289e626d8
commit
83cfa03146
3 changed files with 58 additions and 33 deletions
|
|
@ -75,6 +75,9 @@
|
|||
virtualHosts."*.hailsatan.eu".extraConfig = ''
|
||||
reverse_proxy https://j.hailsatan.eu
|
||||
'';
|
||||
virtualHosts."l621.net".extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:8186
|
||||
'';
|
||||
virtualHosts."*.ragon.xyz".extraConfig = ''
|
||||
# @8081 host 8081.ragon.xyz
|
||||
# handle @8081 {
|
||||
|
|
|
|||
22
hosts/picard/gotosocial.nix
Normal file
22
hosts/picard/gotosocial.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, config, ... }: {
|
||||
virtualisation.oci-containers.containers."gts" = {
|
||||
image = "superseriousbusiness/gotosocial:latest";
|
||||
environment = {
|
||||
GTS_HOST = "l621.net";
|
||||
GTS_DB_TYPE = "sqlite";
|
||||
GTS_DB_ADDRESS = "/gotosocial/storage/sqlite.db";
|
||||
GTS_LETSENCRYPT_ENABLED = "false";
|
||||
GTS_WAZERO_COMPILATION_CACHE = "/gotosocial/.cache";
|
||||
GTS_TRUSTED_PROXIES = "10.88.0.0/16";
|
||||
TZ = "Europe/Berlin";
|
||||
};
|
||||
ports = [
|
||||
"127.0.0.1:8186:8080"
|
||||
];
|
||||
volumes = [
|
||||
"/var/lib/gotosocial:/gotosocial/storage"
|
||||
];
|
||||
};
|
||||
ragon.persist.extraDirectories = ["/var/lib/gotosocial"];
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue