Wallabag setup complete

This commit is contained in:
Trevor Vallender 2023-10-10 11:39:54 +01:00
parent 01b2421098
commit 8e30512a3a
3 changed files with 16 additions and 11 deletions

View File

@ -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 = [

View File

@ -66,7 +66,7 @@
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:5232";
proxyPass = "http://127.0.0.1:8485";
};
};
};

View File

@ -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"
];
};
};