Set up PiGallery2
This commit is contained in:
@@ -44,6 +44,21 @@
|
|||||||
ports = [ "127.0.0.1:9090:8080" ];
|
ports = [ "127.0.0.1:9090:8080" ];
|
||||||
volumes = [ "/vault/opodsync:/var/www/server/data" ];
|
volumes = [ "/vault/opodsync:/var/www/server/data" ];
|
||||||
};
|
};
|
||||||
|
# Photo gallery
|
||||||
|
pigallery2 = {
|
||||||
|
image = "bpatrik/pigallery2@sha256:c936e4504cfe7158198542a8db794b24afb0301155d89e911f13bd04e0b406c2";
|
||||||
|
ports = [ "127.0.0.1:9191:80" ];
|
||||||
|
volumes = [
|
||||||
|
"/vault/pigallery2/config:/app/data/config"
|
||||||
|
"/vault/pigallery2/db:/app/data/db"
|
||||||
|
"/vault/pigallery2/tmp:/app/data/tmp"
|
||||||
|
"/vault/syncthing/Photos:/app/data/images"
|
||||||
|
];
|
||||||
|
cmd = [
|
||||||
|
"-e"
|
||||||
|
"NODE_ENV=production"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -169,6 +169,11 @@
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://localhost:9092/";
|
locations."/".proxyPass = "http://localhost:9092/";
|
||||||
};
|
};
|
||||||
|
"photos.psydnd.org" = {
|
||||||
|
useACMEHost = "psydnd.org";
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/".proxyPass = "http://localhost:9191/";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user