Skip to content

various services missing default port exposals

Created by: slimsag

Various services of ours are missing default port EXPOSEals in their Dockerfiles. In specific, repo-updater, frontend, zoekt-webserver, zoekt-indexserver, searcher, query-runner, gitserver, and github-proxy:

CONTAINER ID        IMAGE                                            COMMAND                  CREATED             STATUS              PORTS                      NAMES
fa651c65d9dc        sourcegraph/repo-updater:3.0.0-alpha.11          "/sbin/tini -- /usr/…"   4 minutes ago       Up 4 minutes                                   repo-updater
7479ec00d7c3        sourcegraph/frontend:3.0.0-alpha.11              "/sbin/tini -- /usr/…"   7 minutes ago       Up 7 minutes        127.0.0.1:3080->3080/tcp   sourcegraph-frontend
1a84da56cd92        sourcegraph/frontend:3.0.0-alpha.11              "/sbin/tini -- /usr/…"   7 minutes ago       Up 7 minutes                                   sourcegraph-frontend-internal
178ac22d3e44        sourcegraph/zoekt-webserver:18-10-30_faca01d     "/sbin/tini -- /bin/…"   7 minutes ago       Up 7 minutes                                   zoekt-webserver
6a1a885c4bc0        sourcegraph/zoekt-indexserver:18-10-30_faca01d   "/sbin/tini -- /bin/…"   7 minutes ago       Up 7 minutes                                   zoekt-indexserver
aebbfc51aca1        sourcegraph/syntect_server:d74791c               "/sbin/tini -- /synt…"   7 minutes ago       Up 7 minutes        9238/tcp                   syntect-server
41e90436d607        sourcegraph/symbols:3.0.0-alpha.11               "/sbin/tini -- /usr/…"   7 minutes ago       Up 7 minutes        3184/tcp                   symbols-0
073d5388c124        sourcegraph/searcher:3.0.0-alpha.11              "/sbin/tini -- /usr/…"   7 minutes ago       Up 7 minutes                                   searcher-0
a8408e07fecb        sourcegraph/redis-store:18-10-28_e45f6d82        "docker-entrypoint.s…"   7 minutes ago       Up 7 minutes        6379/tcp                   redis-store
2efe9f0e2bf9        sourcegraph/redis-cache:18-10-28_ba610fdf        "docker-entrypoint.s…"   7 minutes ago       Up 7 minutes        6379/tcp                   redis-cache
96a047de7a0f        sourcegraph/query-runner:3.0.0-alpha.11          "/sbin/tini -- /usr/…"   7 minutes ago       Up 7 minutes                                   query-runner
0ba50d7cf7ca        sourcegraph/postgres:18-11-26_9.4_a9463ecc       "docker-entrypoint.s…"   7 minutes ago       Up 7 minutes        5432/tcp                   pgsql
15863b9cc7bc        sourcegraph/management-console:3.0.0-alpha.11    "/sbin/tini -- /usr/…"   7 minutes ago       Up 7 minutes        127.0.0.1:2633->2633/tcp   management-console
89273b6c9414        sourcegraph/gitserver:3.0.0-alpha.11             "/sbin/tini -- /usr/…"   8 minutes ago       Up 7 minutes                                   gitserver-0
231cc559a5a6        sourcegraph/github-proxy:3.0.0-alpha.11          "/sbin/tini -- /usr/…"   8 minutes ago       Up 8 minutes                                   github-proxy
d993016dee8d        redis                                            "docker-entrypoint.s…"   5 days ago          Up 5 days           0.0.0.0:6379->6379/tcp     vigorous_yalow

Additionally, it appears all of them are missing the debug port, too.

Note that port exposal is mostly for documentation purposes, and isn't related to publishing the port.