Die on building the lemmy image
This commit is contained in:
parent
e0d3a4c886
commit
4b5756c870
|
@ -22,7 +22,10 @@ let
|
||||||
src = lemmyDockerComposeCfgDir;
|
src = lemmyDockerComposeCfgDir;
|
||||||
buildInputs = with pkgs; [ docker-compose ];
|
buildInputs = with pkgs; [ docker-compose ];
|
||||||
buildPhase = "docker compose build";
|
buildPhase = "docker compose build";
|
||||||
installPhase = "ls > $out";
|
installPhase = ''
|
||||||
|
ls
|
||||||
|
exit 1
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
nginxCfg = pkgs.writeText "lemmy-nginx.conf" ''
|
nginxCfg = pkgs.writeText "lemmy-nginx.conf" ''
|
||||||
|
@ -240,6 +243,7 @@ in {
|
||||||
oci-containers.containers.lemmy = {
|
oci-containers.containers.lemmy = {
|
||||||
# Not sure what the image should be...
|
# Not sure what the image should be...
|
||||||
image = "lemmy/lemmy";
|
image = "lemmy/lemmy";
|
||||||
|
autoStart = true;
|
||||||
environment = {
|
environment = {
|
||||||
LEMMY_UI_LEMMY_INTERNAL_HOST = "lemmy:8536";
|
LEMMY_UI_LEMMY_INTERNAL_HOST = "lemmy:8536";
|
||||||
LEMMY_UI_LEMMY_EXTERNAL_HOST = cfg.hostname;
|
LEMMY_UI_LEMMY_EXTERNAL_HOST = cfg.hostname;
|
||||||
|
|
Loading…
Reference in New Issue