aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 13:52:47 -0700
committerFuwn <[email protected]>2021-05-06 13:52:47 -0700
commit53b9f9e230fdc306ef562e3447f376cad1eea1c8 (patch)
tree163bfe28970a25eeee31d854f415cd78dfa0bcdb
parentfix(make): docker-load uses shell script (diff)
downloadwhirl-53b9f9e230fdc306ef562e3447f376cad1eea1c8.tar.xz
whirl-53b9f9e230fdc306ef562e3447f376cad1eea1c8.zip
docs(docker): expose ports (doc) at the image level
-rw-r--r--docker.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker.nix b/docker.nix
index 1164bd8..4c62d48 100644
--- a/docker.nix
+++ b/docker.nix
@@ -32,6 +32,11 @@ let
Cmd = [ "/bin/whirl" "run" ];
WorkingDir = "/";
Env = [ "DATABASE_URl=whirl.sqlite3" "DISABLE_PROMPT=true" ];
+ ExposedPorts = {
+ "8000/tcp" = { }; # API
+ "6659/tcp" = { }; # Distributor
+ "5673/tcp" = { }; # Hub
+ };
};
};