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