pomerium/docs/guide
2019-01-26 12:10:27 -08:00
..
gitlab authenticate/providers : add gitlab support (#28) 2019-01-24 15:10:16 -08:00
google Fixes #2 : Adds Microsoft Azure Active Directory provider support (#5) 2019-01-05 01:28:13 -08:00
microsoft Fixes #2 : Adds Microsoft Azure Active Directory provider support (#5) 2019-01-05 01:28:13 -08:00
okta Fixes #2 : Adds Microsoft Azure Active Directory provider support (#5) 2019-01-05 01:28:13 -08:00
signed-headers proxy: add JWT request signing support (#19) 2019-01-22 21:44:22 -08:00
get-started.gif update reamde and docs 2019-01-04 21:24:07 -08:00
identity-providers.md authenticate/providers : add gitlab support (#28) 2019-01-24 15:10:16 -08:00
readme.md docs: add build from source guide (#32) 2019-01-26 12:10:27 -08:00
signed-headers.md proxy: add JWT request signing support (#19) 2019-01-22 21:44:22 -08:00

Quick start

Using Docker

  • Install docker and docker-compose.
  • Grab Pomerium's included example docker-compose.yml directly or by cloning the repository.
  • Update docker-compose.yml to match your identity provider settings.
  • Copy your subdomain's wild-card TLS certificate next to the compose file. If you don't have one handy, the included script generates one from LetsEncrypt.
  • Run docker-compose by runnig the command $ docker-compose up.
  • Pomerium is configured to delegate access to two test apps helloworld and httpbin. Navigate to hello.corp.example.com or httpbin.corp.example.com. You should see something like the following in your browser and in your terminal.

Getting started

asciicast

From source

Get the code

Using git, retrieve the latest copy of pomerium's source code by cloning the repository.

# where `$HOME/pomerium` is the directory you want to save pomerium
git clone https://github.com/pomerium/pomerium.git $HOME/pomerium

Build pomerium from source in a single step using make.

cd $HOME/pomerium
make

The command will run all the tests, some code linters, then build the binary. If all is good, you should now have a freshly built pomerium binary in the pomerium/bin directory.

Configure

Make a copy of the env.example and name it something like env.

cp env.example env

Modify your env configuration to to match your identity provider settings.

vim env

Run

Finally, source the the configuration env file and run pomerium.

source ./env
./bin/pomerium

All-in-one

Assuming your configuration file ready to go, you can simply use this one-liner.

make && source ./env && ./bin/pomerium