pomerium/docs/docs/quick-start
bobby c23c8b34b3
docs: replace httpbin with verify (#1702)
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
2020-12-22 09:53:08 -08:00
..
img v0.6.0 2020-01-24 16:09:47 -08:00
binary.md docs: replace httpbin with verify (#1702) 2020-12-22 09:53:08 -08:00
from-source.md docs: replace httpbin with verify (#1702) 2020-12-22 09:53:08 -08:00
helm.md docs: replace httpbin with verify (#1702) 2020-12-22 09:53:08 -08:00
readme.md docs: replace httpbin with verify (#1702) 2020-12-22 09:53:08 -08:00
synology.md update docs (#1645) 2020-12-03 08:29:17 -08:00

title lang meta
Docker en-US
name content
keywords pomerium identity-access-proxy oidc docker reverse-proxy containers

Pomerium using Docker

In the following quick-start, we'll create a minimal but complete environment for running Pomerium with containers.

Prerequisites

Configure

Configuration file

Create a configuration file (e.g config.yaml) for defining Pomerium's configuration settings, routes, and access-policies. Consider the following example:

<<< @/examples/config/config.minimal.yaml

Ensure the docker-compose.yml contains the correct path to your config.yaml.

Autocert Docker-compose

Ensure you have set up the requisite DNS and port forwarding in TLS certificates

Download the following docker-compose.yml file and modify it to:

<<< @/examples/docker/autocert.docker-compose.yml

Please note that you should use a persistent volume to store certificate data, or you may exhaust your domain quota on Let's Encrypt.

Wildcard Docker-compose

Download the following docker-compose.yml file and modify it to:

<<< @/examples/docker/basic.docker-compose.yml

Run

Finally, simply run docker compose.

docker-compose up

Docker will automatically download the required container images for Pomerium and verify. Then, Pomerium will run with the configuration details set in the previous steps.

You should now be able access to the routes (e.g. https://verify.localhost.pomerium.io) as specified in your policy file.

You can also navigate to the special pomerium endpoint verify.corp.yourdomain.example/.pomerium/ to see your current user details.

currently logged in user