Die on building the lemmy image

This commit is contained in:
niten 2023-07-08 09:36:32 -07:00
parent e0d3a4c886
commit 4b5756c870
1 changed files with 5 additions and 1 deletions

View File

@ -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;