Wallabag setup complete
This commit is contained in:
parent
01b2421098
commit
8e30512a3a
|
@ -2,6 +2,13 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
storageDriver = "btrfs";
|
||||||
|
logDriver = "json-file";
|
||||||
|
};
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
../shared/shared-configuration.nix
|
../shared/shared-configuration.nix
|
||||||
|
@ -37,12 +44,6 @@
|
||||||
vim
|
vim
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.docker = {
|
|
||||||
enable = true;
|
|
||||||
storageDriver = "btrfs";
|
|
||||||
logDriver = "json-file";
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.kamal = {
|
users.users.kamal = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:5232";
|
proxyPass = "http://127.0.0.1:8485";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
virtualisation.oci-containers.backend = "docker";
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
wallabag = {
|
wallabag = {
|
||||||
image = "wallabag/wallabag:2.6.7";
|
autoStart = true;
|
||||||
|
image = "wallabag/wallabag";
|
||||||
environment = {
|
environment = {
|
||||||
SYMFONY__ENV__DOMAIN_NAME = "http://localhost";
|
SYMFONY__ENV__DOMAIN_NAME = "https://wb.tsvallender.co.uk";
|
||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"/opt/wallabag/data:/var/www/wallabag/data"
|
"wallabag_data:/var/www/wallabag/data"
|
||||||
"/opt/wallabag/images:/var/www/wallabag/images"
|
];
|
||||||
|
ports = [
|
||||||
|
"8485:80"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue