H
Hostess

Service Visibility

Control who can reach each service.

Overview

Every service has a visibility setting that controls who can open its URL. Set it in hostess.yml with the visibility field.

VisibilityHTTPS URLWho can open it
publicYesAnyone
teamYesOrganization members who can view the service, after Hostess sign-in
privateNoOther services in your stack (via magic variables); local access with hostess connect

Defaults

When you omit visibility, Hostess chooses a default from the service type:

TypeDefault
nextjspublic
fastapiprivate
postgresprivate
redisprivate
customprivate

visibility: team is always explicit — set it when you want an HTTPS URL gated by Hostess sign-in.


Configure in hostess.yml

hostess.yml
services:
  frontend:
    type: nextjs
    build:
      source: ./frontend
    # defaults to public

  dashboard:
    type: nextjs
    build:
      source: ./dashboard
    visibility: team

  api:
    type: fastapi
    build:
      source: ./backend
    visibility: public

  database:
    type: postgres
    # defaults to private

You can also set visibility per port. Port-level settings override the service default:

hostess.yml
services:
  minio:
    type: custom
    image: minio/minio:latest
    command: ["server", "/data", "--console-address", ":9001"]
    ports:
      - port: 9000
        visibility: public
      - port: 9001
        visibility: team

See the Configuration Reference for the full field list.


Team visibility

With visibility: team, Hostess still gives the service a stable HTTPS URL.

When someone opens that URL:

  1. Hostess asks them to sign in.
  2. After sign-in, Hostess checks that they belong to the organization that owns the project and that their role can view the service.
  3. Allowed members reach the app. Signed-in users who are not in the organization are denied.

Invite and manage members on the organization Team page so the right people can open team URLs.

Custom domains on team services keep the same Hostess sign-in gate. Branding the hostname does not change who is allowed in — see Custom Domains.


Studio Access

On a team service’s Overview in Studio, the Access section shows recent signed-in allowed and denied activit within the last 24 hours. Unauthenticated traffic is summarized separately in a collapsible insights section.

Use Access to confirm that the right teammates are getting in and to spot denied attempts after you change membership or roles.

Service Access Dashboard


Service Visibility | Hostess Docs