aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 13:52:47 +0000
committerFuwn <[email protected]>2021-05-06 13:52:47 +0000
commit97f851ed1f37ca62cc5b076248fe8b8ddc69ef1b (patch)
tree35f510f8e91db6778d7800a9121653249e94dc18
parentfix(make): docker-load uses shell script (diff)
downloadwhirl-97f851ed1f37ca62cc5b076248fe8b8ddc69ef1b.tar.xz
whirl-97f851ed1f37ca62cc5b076248fe8b8ddc69ef1b.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
+ };
};
};