expose ports for standard and websocket server
commit090aaecd82dda985721cfa22ed098399740265b7
authorA.M <agentm@themactionfaction.com>
dateTue 4 Aug 2020, 22:40 (6 years ago)
parent433243b
docker.nix+3−1
@@ -7,5 +7,7 @@ in
77 name = "project-m36";
88 tag = "latest";
99 contents = [static-project-m36];
10− config = { Env = ["LC_ALL=en_US.UTF-8"]; };
10+ #expose default project-m36 and websocket server ports
11+ config = { Env = ["LC_ALL=en_US.UTF-8"];
12+ ExposedPorts = { "6543/tcp" = {}; "8000/tcp" = {}; }; };
1113 }