portler env
Print generated and resolved environment values.
bash
portler env [service]Behavior
- Without a service: prints the generated
PORTLER_*variables plus the resolved top-levelenv:. - With a service: additionally layers the service's own
env:andport_envvalues — everything the service would receive on top of your shell environment and.envfiles.
Useful for debugging references and for sourcing values into other tooling.
Example
bash
$ portler env backend
PORTLER_SERVICE_NAMES=backend,frontend,postgres
PORTLER_BACKEND_PORT=51235
PORTLER_BACKEND_URL=http://localhost:51235
...
DATABASE_URL=postgres://app:app@localhost:51234/app
PORT=51235