Skip to content

Commit

Permalink
fix expose ports/volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
ingon committed Jan 9, 2025
1 parent 1d7571c commit 225d047
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions nix/docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ pkgs.dockerTools.buildLayeredImage {
config = {
Entrypoint = [ "${connet}/bin/connet" ];
Cmd = [ "--help" ];
Expose = [ "19190/udp" "19191/udp" "19192/udp" ];
Volume = "/data";
ExposedPorts = {
"19190/udp" = { };
"19191/udp" = { };
"19192/udp" = { };
};
Volumes = {
"/data" = { };
};
};
}

0 comments on commit 225d047

Please sign in to comment.