Set up Openbooks
This commit is contained in:
parent
90d767d7ce
commit
69aba01d8c
|
@ -31,4 +31,12 @@
|
||||||
|
|
||||||
# Set environment variable pointing to wallabag configuration directory
|
# Set environment variable pointing to wallabag configuration directory
|
||||||
environment.variables.WALLABAG_DATA = "/var/lib/wallabag";
|
environment.variables.WALLABAG_DATA = "/var/lib/wallabag";
|
||||||
|
|
||||||
|
# Openbooks configuration
|
||||||
|
virtualisation.oci-containers.containers = {
|
||||||
|
openbooks = {
|
||||||
|
image = "evanbuss/openbooks";
|
||||||
|
ports = [ "127.0.0.1:9000:80" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,6 +121,18 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"books.coolneng.duckdns.org" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:9000/";
|
||||||
|
extraConfig = ''
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -136,6 +148,7 @@
|
||||||
"matrix.coolneng.duckdns.org"
|
"matrix.coolneng.duckdns.org"
|
||||||
"element.coolneng.duckdns.org"
|
"element.coolneng.duckdns.org"
|
||||||
"wallabag.coolneng.duckdns.org"
|
"wallabag.coolneng.duckdns.org"
|
||||||
|
"books.coolneng.duckdns.org"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue